From 77d86bf40220d537ba6ea866a9bc0379130f70ba Mon Sep 17 00:00:00 2001 From: Aleksei Miheev Date: Sat, 24 Dec 2011 20:48:55 +0400 Subject: [PATCH] use 'member' in logAction() for more convenient log browsing --- Sources/VisualWarning.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/VisualWarning.php b/Sources/VisualWarning.php index aadc669..97c0f12 100644 --- a/Sources/VisualWarning.php +++ b/Sources/VisualWarning.php @@ -106,7 +106,7 @@ function AddWarning2() preparsecode($message); // update moderation log - logAction("vwarning", array('user' => $_REQUEST['user'], 'level' => $_REQUEST['level'], $message)); + logAction("vwarning", array('member' => $_REQUEST['user'], 'level' => $_REQUEST['level'], 'message' => $message)); $request = db_query(" SELECT ID_MEMBER, memberName, warning, emailAddress