Skip to content
Snippets Groups Projects
Commit 89627b2d authored by AL's avatar AL Committed by Apparao G
Browse files

PHP8 compatibility: fix Required parameter $blockId follows optional parameter...

parent f343edf7
No related branches found
No related tags found
No related merge requests found
......@@ -111,7 +111,7 @@ class Settings_LayoutEditor_Field_Model extends Vtiger_Field_Model {
}
}
public static function makeFieldActive($fieldIdsList=array(), $blockId, $moduleName = false) {
public static function makeFieldActive($fieldIdsList, $blockId, $moduleName = false) {
$db = PearDatabase::getInstance();
$maxSequenceQuery = "SELECT MAX(sequence) AS maxsequence FROM vtiger_field WHERE block = ? AND presence IN (0,2) ";
$res = $db->pquery($maxSequenceQuery,array($blockId));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment