[Codestriker-commits] CVS update: codestriker/lib/Codestriker/Action ListTopics.pm
Brought to you by:
sits
|
From: <si...@us...> - 2008-09-09 04:58:42
|
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;
}
|