silent0608

[功能缺陷] [已解决] log里出现 ${author} [on line 24, column 140 in themes/default/articleList.ftl]的错误

Expression author is undefined on line 24, column 142 in themes/default/articleList.ftl.

The problematic instruction:

----------

==> ${author} [on line 24, column 140 in themes/default/articleList.ftl]

 in user-directive content [on line 55, column 9 in themes/default/base.ftl]

 in include "base.ftl" [on line 1, column 1 in themes/default/common.ftl]

 in include "common.ftl" [on line 1, column 1 in themes/default/articleList.ftl]

----------


#1楼
发帖时间:2014-9-5   |   查看数:0   |   回复数:1
admin
作者是空的,可以写成<#if author?? >${author}</#if> 这样就是只有有作者信息的时候才会输出
2014-9-5 #2楼
游客组