Try to fix scrutinizer warnings

This commit is contained in:
Laurent Destailleur 2020-02-20 01:29:34 +01:00
parent 76f0df138b
commit 1be6c43ed2

View File

@ -40,6 +40,7 @@ $backtopage = GETPOST('backtopage', 'alpha');
* Actions * Actions
*/ */
$reg = array();
if (preg_match('/set_(.*)/', $action, $reg)) if (preg_match('/set_(.*)/', $action, $reg))
{ {
$code = $reg[1]; $code = $reg[1];