summaryrefslogtreecommitdiff
path: root/modules/comment/comment.admin.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-04-23 18:05:58 +0000
committerDries Buytaert <dries@buytaert.net>2008-04-23 18:05:58 +0000
commitd1779405d2b2e0ffd37825f274d0a787b261b5ee (patch)
tree2242047875a72e8507dfbee260b236a5cdc8b85a /modules/comment/comment.admin.inc
parentc863246b516ef9f92f4c3a9a513a0e20f315e46a (diff)
downloadbrdo-d1779405d2b2e0ffd37825f274d0a787b261b5ee.tar.gz
brdo-d1779405d2b2e0ffd37825f274d0a787b261b5ee.tar.bz2
- Patch #249941 by John Morahan: fixed incorrect parameters of watchdog() calls.
Diffstat (limited to 'modules/comment/comment.admin.inc')
-rw-r--r--modules/comment/comment.admin.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.admin.inc b/modules/comment/comment.admin.inc
index 144804e36..5708bafb1 100644
--- a/modules/comment/comment.admin.inc
+++ b/modules/comment/comment.admin.inc
@@ -277,7 +277,7 @@ function comment_confirm_delete_submit($form, &$form_state) {
*/
function _comment_delete_thread($comment) {
if (!is_object($comment) || !is_numeric($comment->cid)) {
- watchdog('content', 'Cannot delete non-existent comment.', WATCHDOG_WARNING);
+ watchdog('content', 'Cannot delete non-existent comment.', array(), WATCHDOG_WARNING);
return;
}