Fix phpcs
This commit is contained in:
parent
44f383c8b9
commit
bf6f9dd7ea
@ -46,7 +46,7 @@ $action = GETPOST('action', 'alpha');
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
if (preg_match('/set_([a-z0-9_\-]+)/i',$action,$reg))
|
if (preg_match('/set_([a-z0-9_\-]+)/i', $action, $reg))
|
||||||
{
|
{
|
||||||
$code=$reg[1];
|
$code=$reg[1];
|
||||||
$value=GETPOST($code, 'alpha');
|
$value=GETPOST($code, 'alpha');
|
||||||
@ -60,7 +60,7 @@ if (preg_match('/set_([a-z0-9_\-]+)/i',$action,$reg))
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (preg_match('/del_([a-z0-9_\-]+)/i',$action,$reg))
|
if (preg_match('/del_([a-z0-9_\-]+)/i', $action, $reg))
|
||||||
{
|
{
|
||||||
$code=$reg[1];
|
$code=$reg[1];
|
||||||
if (dolibarr_del_const($db, $code, 0) > 0)
|
if (dolibarr_del_const($db, $code, 0) > 0)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user