diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-04-23 18:05:58 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-04-23 18:05:58 +0000 |
commit | d1779405d2b2e0ffd37825f274d0a787b261b5ee (patch) | |
tree | 2242047875a72e8507dfbee260b236a5cdc8b85a | |
parent | c863246b516ef9f92f4c3a9a513a0e20f315e46a (diff) | |
download | brdo-d1779405d2b2e0ffd37825f274d0a787b261b5ee.tar.gz brdo-d1779405d2b2e0ffd37825f274d0a787b261b5ee.tar.bz2 |
- Patch #249941 by John Morahan: fixed incorrect parameters of watchdog() calls.
-rw-r--r-- | includes/actions.inc | 2 | ||||
-rw-r--r-- | modules/comment/comment.admin.inc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/includes/actions.inc b/includes/actions.inc index 8811383a0..27f7bdf27 100644 --- a/includes/actions.inc +++ b/includes/actions.inc @@ -41,7 +41,7 @@ function actions_do($action_ids, $object = NULL, $context = NULL, $a1 = NULL, $a static $stack; $stack++; if ($stack > variable_get('actions_max_stack', 35)) { - watchdog('actions', 'Stack overflow: too many calls to actions_do(). Aborting to prevent infinite recursion.', WATCHDOG_ERROR); + watchdog('actions', 'Stack overflow: too many calls to actions_do(). Aborting to prevent infinite recursion.', array(), WATCHDOG_ERROR); return; } $actions = array(); 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; } |