[pLog-svn] r3023 - plog/trunk/class/gallery/dao
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Sun Mar 5 17:51:34 GMT 2006
Author: oscar
Date: 2006-03-05 17:51:33 +0000 (Sun, 05 Mar 2006)
New Revision: 3023
Modified:
plog/trunk/class/gallery/dao/galleryalbums.class.php
Log:
another notice...
Modified: plog/trunk/class/gallery/dao/galleryalbums.class.php
===================================================================
--- plog/trunk/class/gallery/dao/galleryalbums.class.php 2006-03-05 17:44:07 UTC (rev 3022)
+++ plog/trunk/class/gallery/dao/galleryalbums.class.php 2006-03-05 17:51:33 UTC (rev 3023)
@@ -282,8 +282,10 @@
if( $userAlbums ) {
foreach( $userAlbums as $album ) {
$key = $album->getParentId();
- if( $albums["$key"] == "" )
- $albums["$key"] = Array();
+ if( isset($albums["$key"] )) {
+ if( $albums["$key"] == "" )
+ $albums["$key"] = Array();
+ }
$albums["$key"][] = $album;
$ids[] = $album->getId();
}
More information about the pLog-svn
mailing list