summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2012-01-22 05:07:03 +0100
committerMichael Tänzer <neo@nhng.de>2012-01-22 05:07:03 +0100
commit09e3d13bb143aad53607ed0437c3d460e31e64d5 (patch)
tree2445c507484b12971e41c943ad89530318b4a968
parent1a4fb2fe639c0f973560f2fa088e10ae1d3aa1f8 (diff)
downloadcacert-devel-09e3d13bb143aad53607ed0437c3d460e31e64d5.tar.gz
cacert-devel-09e3d13bb143aad53607ed0437c3d460e31e64d5.tar.xz
cacert-devel-09e3d13bb143aad53607ed0437c3d460e31e64d5.zip
bug 1004: PHP doesn't allow type hinting for strings
Signed-off-by: Michael Tänzer <neo@nhng.de>
-rwxr-xr-xscripts/cron/refresh_stats.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/cron/refresh_stats.php b/scripts/cron/refresh_stats.php
index 70fa062..f9ae95c 100755
--- a/scripts/cron/refresh_stats.php
+++ b/scripts/cron/refresh_stats.php
@@ -29,7 +29,7 @@ require_once('../../includes/mysql.php');
* @return resource|boolean
* the MySQL result set
*/
-function sql_query(string $sql) {
+function sql_query($sql) {
$res = mysql_query($sql);
if (!$res) {
fwrite(STDERR, "MySQL query failed:\n\"$sql\"\n".mysql_error());