Fix phpcs

This commit is contained in:
Laurent Destailleur 2021-05-11 20:12:25 +02:00
parent 63db00486d
commit 971d611eb6

View File

@ -31,7 +31,6 @@ if ($action == 'update' && is_array($arrayofparameters)) {
$db->begin();
foreach ($arrayofparameters as $key => $val) {
var_dump($key);
// Modify constant only if key was posted (avoid resetting key to the null value)
if (GETPOSTISSET($key)) {
if (preg_match('/category:/', $val['type'])) {