diff options
author | Michael Tänzer <neo@nhng.de> | 2012-01-22 05:07:03 +0100 |
---|---|---|
committer | Michael Tänzer <neo@nhng.de> | 2012-01-22 05:07:03 +0100 |
commit | 09e3d13bb143aad53607ed0437c3d460e31e64d5 (patch) | |
tree | 2445c507484b12971e41c943ad89530318b4a968 /scripts/cron/refresh_stats.php | |
parent | 1a4fb2fe639c0f973560f2fa088e10ae1d3aa1f8 (diff) | |
download | cacert-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>
Diffstat (limited to 'scripts/cron/refresh_stats.php')
-rwxr-xr-x | scripts/cron/refresh_stats.php | 2 |
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()); |