summaryrefslogtreecommitdiff
path: root/itjs.class
diff options
context:
space:
mode:
Diffstat (limited to 'itjs.class')
-rw-r--r--itjs.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/itjs.class b/itjs.class
index c7ab607..edc0d33 100644
--- a/itjs.class
+++ b/itjs.class
@@ -35,7 +35,7 @@ function send_headers()
*/
function serialize($values)
{
- if ($callback = it::replace('[^\w.]' => "", $_REQUEST['itjs_call']))
+ if ($callback = it::replace(array('[^\w.]' => ""), $_REQUEST['itjs_call']))
{
$header = "<script type='text/javascript'>$callback(";
$footer = "," . intval($_REQUEST['itjs_callid']) . ")</script>";