]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 215962: Missing {} around implied hash reference in params to ThrowUserError
authorjustdave%syndicomm.com <>
Wed, 13 Aug 2003 01:54:16 +0000 (01:54 +0000)
committerjustdave%syndicomm.com <>
Wed, 13 Aug 2003 01:54:16 +0000 (01:54 +0000)
patch by Eric Selberg <erik@selberg.com>
r= justdave a= justdave

process_bug.cgi

index e49324f6d984500cbf9775b987da1e2ef2d0b713..cf9abf4cb088380e09487712e1dbbc42f0a65ee3 100755 (executable)
@@ -773,7 +773,7 @@ if (UserInGroup(Param('timetrackinggroup'))) {
                     $::query .= "$field = " . SqlQuote($er_time);
                 } else {
                     ThrowUserError("need_positive_number",
-                                   field => $field);
+                                   {field => $field});
                 }
             }
         }