[pLog-svn] r5238 - plog/branches/lifetype-1.2/class/net/xmlrpc

pwestbro at devel.lifetype.net pwestbro at devel.lifetype.net
Sat Mar 31 01:45:35 EDT 2007


Author: pwestbro
Date: 2007-03-31 01:45:35 -0400 (Sat, 31 Mar 2007)
New Revision: 5238

Modified:
   plog/branches/lifetype-1.2/class/net/xmlrpc/xmlrpcserver.class.php
Log:
Fixed php notice


Modified: plog/branches/lifetype-1.2/class/net/xmlrpc/xmlrpcserver.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/net/xmlrpc/xmlrpcserver.class.php	2007-03-31 05:43:32 UTC (rev 5237)
+++ plog/branches/lifetype-1.2/class/net/xmlrpc/xmlrpcserver.class.php	2007-03-31 05:45:35 UTC (rev 5238)
@@ -735,7 +735,10 @@
 					return( new IXR_Error(-1, 'This user does not have enough permissions' ));
 				}
 
-	            $catList = $content["categories"];
+                $catList = NULL;
+				if ( array_key_exists( "categories",  $content ) ) {
+                    $catList = $content["categories"];
+	            }
 	            //
 	            // :KLUDGE:
 	            // not exactly the smartest and fastest bit of code ever but it seems to work :-)



More information about the pLog-svn mailing list