bug 649: Backport bugfix from testserver bug-649
authorBenny Baumann <BenBE@geshi.org>
Tue, 2 Jun 2015 18:50:54 +0000 (20:50 +0200)
committerBenny Baumann <BenBE@geshi.org>
Tue, 2 Jun 2015 18:50:54 +0000 (20:50 +0200)
includes/notary.inc.php

index a040771..cb05d6b 100644 (file)
@@ -1166,5 +1166,5 @@ function write_se_log($uid, $adminid, $type, $info, $typeid=1){
        $typeid = intval($typeid);
        $query="insert into `adminlog` (`when`, `uid`, `adminid`,`type`,`information`,`actiontypeid`) values
                (Now(), $uid, $adminid, '$type', '$info', '$typeid')";
-       mysql_query($query);
+       return mysql_query($query);
 }