mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Ajax/Debug
* be a lot more verbose when errors are occuring (to staff anyway) * made hardcoded error messages for comments localizable * add error messages from posting comments to session to be displayed on next page update
This commit is contained in:
@@ -1427,7 +1427,7 @@ class Util
|
||||
'createDate' => time(),
|
||||
'mode' => $mode,
|
||||
'reason' => $reason,
|
||||
'subject' => $subject,
|
||||
'subject' => $subject ?: 0, // not set for utility, tools and misc pages
|
||||
'ip' => User::$ip,
|
||||
'description' => $desc,
|
||||
'userAgent' => $userAgent ?: $_SERVER['HTTP_USER_AGENT'],
|
||||
|
||||
Reference in New Issue
Block a user