From 9c5aba548fe37dec10e1e3ecfa59f6b94a77ba64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20Ho=CC=88rrmann?= Date: Tue, 27 Jun 2017 12:43:15 +0200 Subject: [PATCH] Symphony 2.7 compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nils HoĢˆrrmann --- extension.driver.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extension.driver.php b/extension.driver.php index e56c635..6cbc902 100644 --- a/extension.driver.php +++ b/extension.driver.php @@ -29,7 +29,7 @@ public function install(){ return true; } - public function update($previousVersion){ + public function update($previousVersion = false){ if(version_compare($previousVersion, '0.9.4', '<')) { Symphony::Database()->query('ALTER TABLE `tbl_fields_metakeys` ADD `delete_empty_keys` INT(1) NOT NULL DEFAULT \'1\';'); // Get all the fields that are meta-keys: @@ -74,4 +74,4 @@ public static function appendAssets() { Administration::instance()->Page->addScriptToHead(URL . '/extensions/field_metakeys/assets/field_metakeys.publish.js', 100, false); } } - } \ No newline at end of file + }