diff --git a/classes/Customization.php b/classes/Customization.php index 34e38d0d0..0d2eb0a05 100644 --- a/classes/Customization.php +++ b/classes/Customization.php @@ -133,7 +133,7 @@ class CustomizationCore * @param $has_active_column * @return bool */ - public static function isCurrentlyUsed() + public static function isCurrentlyUsed($table = null, $has_active_column = false) { return (bool)Db::getInstance()->getValue(' SELECT `id_customization_field` diff --git a/classes/Group.php b/classes/Group.php index c2cd8e284..5500f0865 100644 --- a/classes/Group.php +++ b/classes/Group.php @@ -204,7 +204,7 @@ class GroupCore extends ObjectModel * @param $has_active_column * @return bool */ - public static function isCurrentlyUsed($table, $has_active_column = false) + public static function isCurrentlyUsed($table = null, $has_active_column = false) { // We don't use the parent method, for specific clause reason (id_group != 3) return (bool)Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue('