forked from halo-battle/game
Another bunch of PHP 7.2 fixes
This commit is contained in:
parent
164a7ab020
commit
f56a2ef140
7 changed files with 11 additions and 11 deletions
|
|
@ -109,7 +109,7 @@ class Alliance extends SURFACE{
|
|||
else $out[] .= $this->modif[$i]." = '".$this->{$this->modif[$i]}."'";
|
||||
}
|
||||
else {
|
||||
if (ereg('file', $this->modif[$i])) {
|
||||
if (preg_match('#file#', $this->modif[$i])) {
|
||||
$prep = serialize($this->{$this->modif[$i]});
|
||||
$bdd->escape($prep);
|
||||
$out[] .= $this->modif[$i]." = '$prep'";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue