add the other getProperty(); more tweaks

This commit is contained in:
zzz
2012-10-18 21:07:36 +00:00
parent 0b4401e64b
commit 4f936f958d
5 changed files with 27 additions and 12 deletions

View File

@@ -125,7 +125,7 @@ public class NewsHelper extends ContentHelper {
* @since 0.9.4
*/
public static boolean shouldShowNews(RouterContext ctx) {
long lastUpdated = lastUpdated(ctx);
long lastUpdated = lastUpdated(ctx);
if (lastUpdated <= 0)
return true;
long last = ctx.getProperty(PROP_LAST_HIDDEN, 0L);