[pLog-svn] r3181 - plog/trunk/class/gallery/dao
mark at devel.lifetype.net
mark at devel.lifetype.net
Tue Apr 4 10:02:47 GMT 2006
Author: mark
Date: 2006-04-04 10:02:47 +0000 (Tue, 04 Apr 2006)
New Revision: 3181
Modified:
plog/trunk/class/gallery/dao/galleryalbums.class.php
Log:
fix the deleteAlbum().
Modified: plog/trunk/class/gallery/dao/galleryalbums.class.php
===================================================================
--- plog/trunk/class/gallery/dao/galleryalbums.class.php 2006-04-04 09:15:43 UTC (rev 3180)
+++ plog/trunk/class/gallery/dao/galleryalbums.class.php 2006-04-04 10:02:47 UTC (rev 3181)
@@ -263,7 +263,7 @@
// too bad we need to load the album before deleting it, but this method
// won't get called all to often anyway :)
$album = $this->getAlbum( $albumId );
- if( $album )
+ if( empty( $album ) )
return false;
if( $userId > -1 )
More information about the pLog-svn
mailing list