User: sits
Date: 05/05/24 01:35:54
Modified: lib Codestriker.pm
Log:
Fix for older configs corrected for detection of readonly states
Index: Codestriker.pm
===================================================================
RCS file: /cvsroot/codestriker/codestriker/lib/Codestriker.pm,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -r1.73 -r1.74
--- Codestriker.pm 23 May 2005 07:45:33 -0000 1.73
+++ Codestriker.pm 24 May 2005 08:35:53 -0000 1.74
@@ -471,7 +471,7 @@
return (grep /^$topic_state$/, @Codestriker::readonly_states);
} else {
# Backwards compatibility for older configs.
- return $topic_state ne "Open";
+ return $topic_state eq "Open" ? 0 : 1;
}
}
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Codestriker-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/codestriker-commits