summaryrefslogtreecommitdiff
path: root/itjs.class
diff options
context:
space:
mode:
authorChristian Schneider2015-02-10 16:31:38 +0100
committerChristian Schneider2015-02-10 16:31:38 +0100
commit63ec357b2f300c48d4c90d7d6209b964c2caa3dd (patch)
tree6cade258a1c0c9362a5931a0dbc6a8c51d33812d /itjs.class
parent9e350531328e67bd5b0c0425f1a2619a08456f6e (diff)
downloaditools-63ec357b2f300c48d4c90d7d6209b964c2caa3dd.tar.gz
itools-63ec357b2f300c48d4c90d7d6209b964c2caa3dd.tar.bz2
itools-63ec357b2f300c48d4c90d7d6209b964c2caa3dd.zip
Make ITools standard PHP 5.3 compatible (syntax patch, no short array syntax)
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 1779c18..df33810 100644
--- a/itjs.class
+++ b/itjs.class
@@ -211,7 +211,7 @@ function crcurl($url)
else
$fn = ($m = it::match("^//(\w+)(/.*)", $url)) ? "/www/$m[0].search.ch" . $m[1] : $GLOBALS['ULTRAHOME'] . $url;
- return it::match('#', $url) ? U(trim($url, "#")) : U($url, array('c' => self::checksum([$fn])));
+ return it::match('#', $url) ? U(trim($url, "#")) : U($url, array('c' => self::checksum(array($fn))));
}
}