Subject:
[EQDKP]
EQDKP1.3发布新闻出现Warning: date() expects parameter 2 to be long错误
[Print]
Author:
我爱崔颖
Time:
2011-10-12 11:10
Subject:
EQDKP1.3发布新闻出现Warning: date() expects parameter 2 to be long错误
http://www.eqdkp-plus.com/forum/ ... -loading-t5502.html
Getting the following error after someone posted our first News article:
Warning: date() expects parameter 2 to be long, string given in /.../eqdkp/viewnews.php on line 45
Tried looking at the code, but can't figure out what's wrong.
I figure it out as soon as I post
.
Line 26 of viewnews.php:
$previous_date = '';
Changed to:
$previous_date = 0;
Welvome EQ中文世纪地图集论坛 (http://www.ceqmap.com/bbs/)
Powered by Discuz! 7.0.0