Update log and admin to work with PHP v 7.2

Mostly changing mysql_ to mysqli_ but also some OOP fixes it classes,
especially the bbcode parser which doesn't have a new version working
with PHP 7.
This commit is contained in:
Jeena 2020-04-05 17:42:46 +02:00
parent 7af86452ff
commit 23c3d3b65b
7 changed files with 22 additions and 22 deletions

View file

@ -179,7 +179,8 @@ global $l, $plugins;
'".$form_input['allowpingback']."' );";
$writeblog = new Query($sql);
$id = mysql_insert_id();
global $mysql;
$id = mysqli_insert_id($mysql);
if($writeblog->error()) {
echo "<pre>\n";
echo $writeblog->getError();