Skip to content
Snippets Groups Projects
Commit a4161da1 authored by Apparao G's avatar Apparao G
Browse files

PHP8 compatibility: fix Required parameter $blockId follows optional parameter

parents 69a5d4cf 89627b2d
No related branches found
No related tags found
1 merge request!929PHP8 compatibility: fix Required parameter $blockId follows optional parameter...
......@@ -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