User: sits
Date: 08/09/08 21:58:41
Modified: lib/Codestriker/Action ListTopics.pm
Log:
Handle list topics properly if sstate is not set.
Index: ListTopics.pm
===================================================================
RCS file:
/cvsroot/codestriker/codestriker/lib/Codestriker/Action/ListTopics.pm,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- ListTopics.pm 6 Sep 2008 03:31:06 -0000 1.39
+++ ListTopics.pm 9 Sep 2008 04:58:41 -0000 1.40
@@ -305,7 +305,7 @@
}
# Default to show open topics if sstate is not defined.
- if (!defined($sstate)) {
+ if (!defined($sstate) || $sstate eq "") {
$sstate = 0;
}
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Codestriker-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/codestriker-commits