Not Reviewed
Show More
Add another comment
| @@ -27,7 +27,7 function adminlog($msg, $section, $action, $level=E_USER_NOTICE, $email=false) | |||
|
|
27 | 27 | |
|
|
28 | 28 | $sql = 'INSERT INTO admin_log (contributor, section, action, level, message) VALUES (?, ?, ?, ?, ?)'; |
|
|
29 | 29 | $stmt = $dbConnection->prepare($sql); |
|
|
30 |
$stmt->bindValue(1, is_numeric($currentuser->id) ? $currentuser->id : |
|
|
|
30 | $stmt->bindValue(1, is_numeric($currentuser->id) ? $currentuser->id : NULL); | |
|
|
31 | 31 | $stmt->bindValue(2, $section); |
|
|
32 | 32 | $stmt->bindValue(3, $action); |
|
|
33 | 33 | $stmt->bindValue(4, $level); |
Comments 0
You need to be logged in to leave comments.
Login now
