Another bunch of PHP 7.2 fixes

This commit is contained in:
nemunaire 2020-11-16 08:19:08 +01:00
commit f56a2ef140
7 changed files with 11 additions and 11 deletions

View file

@ -14,7 +14,7 @@ if(!defined('INDEX')) { header('Location: ../'); exit; }
$template->assign("affected", $bdd->affected());
$bdd->deconnexion();
if (eregi("show tables", $req))
if (preg_match("#show tables#i", $req))
$template->assign("lien", "SELECT * FROM ");
$pagea = 'bdd';