Fixed add solution that was not compliant with GLPI9.5

Fixed curl issue at form save
Fixed task cat that were active after add or updates
Added a $DB->escape() to escape special chars before query fixes
Added a test to prevent empty IN
Removed deprecated functions
Set version to 4.0.11
This commit is contained in:
Tomolimo
2022-01-24 14:53:44 +01:00
parent 14e7e612c9
commit e5ccb43e95
9 changed files with 378 additions and 316 deletions

View File

@@ -1,6 +1,6 @@
<?php
define('PROCESSMAKER_VERSION', '4.0.8');
define('PROCESSMAKER_VERSION', '4.0.11');
// used for case cancellation
define("CANCEL", 256);
@@ -130,7 +130,7 @@ function plugin_init_processmaker() {
// in order to manage the password encryption
$pmglpikey = new PluginProcessmakerGlpikey;
foreach ($pmglpikey->getFields() as $fld) {
$PLUGIN_HOOKS['secured_fields'][] = $fld;
$PLUGIN_HOOKS['secured_fields'][] = [$fld];
}
//}
}