[pLog-svn] r5513 - plugins/branches/lifetype-1.2/twitter

pwestbro at devel.lifetype.net pwestbro at devel.lifetype.net
Fri Jun 8 12:54:53 EDT 2007


Author: pwestbro
Date: 2007-06-08 12:54:53 -0400 (Fri, 08 Jun 2007)
New Revision: 5513

Modified:
   plugins/branches/lifetype-1.2/twitter/plugintwitter.class.php
Log:
Fixed errors in the global plugin setting page when no twitter information
is specified


Modified: plugins/branches/lifetype-1.2/twitter/plugintwitter.class.php
===================================================================
--- plugins/branches/lifetype-1.2/twitter/plugintwitter.class.php	2007-06-08 13:28:20 UTC (rev 5512)
+++ plugins/branches/lifetype-1.2/twitter/plugintwitter.class.php	2007-06-08 16:54:53 UTC (rev 5513)
@@ -133,8 +133,8 @@
 			return (Array(
 						Array("name" => "plugin_twitter_enabled",
 							  "type" => "boolean"),
-				        Array( "name" => "plugin_twitter_username", "validator" => new StringValidator(), "type" => "string", "allowEmpty" => false ),
-				        Array( "name" => "plugin_twitter_password", "validator" => new StringValidator(), "type" => "string", "allowEmpty" => false ),
+				        Array( "name" => "plugin_twitter_username", "validator" => new StringValidator(), "type" => "string", "allowEmpty" => true ),
+				        Array( "name" => "plugin_twitter_password", "validator" => new StringValidator(), "type" => "string", "allowEmpty" => true ),
 						)
 				   );
 		}



More information about the pLog-svn mailing list