[pLog-svn] r3421 - plog/trunk/class/net

pwestbro at devel.lifetype.net pwestbro at devel.lifetype.net
Mon May 15 04:42:31 GMT 2006


Author: pwestbro
Date: 2006-05-15 04:42:30 +0000 (Mon, 15 May 2006)
New Revision: 3421

Modified:
   plog/trunk/class/net/linkparser.class.php
Log:
Fixed a bug when using the custom url format, the root album page would not
be viewable.  So now when no album name is specified, the root album is shown.


Modified: plog/trunk/class/net/linkparser.class.php
===================================================================
--- plog/trunk/class/net/linkparser.class.php	2006-05-14 20:28:31 UTC (rev 3420)
+++ plog/trunk/class/net/linkparser.class.php	2006-05-15 04:42:30 UTC (rev 3421)
@@ -38,7 +38,7 @@
                   '{resourceid}' => '([0-9]+)?',
                   '{resourcename}' => '([_0-9a-zA-Z-. \(\)\[\]]+)?',
                   '{albumid}' => '([0-9]+)?',
-                  '{albumname}' => '([_0-9a-zA-Z- ]+)?'
+                  '{albumname}' => '([_0-9a-zA-Z- ]*)?'
               );
 
         var $_linkFormat;



More information about the pLog-svn mailing list