[pLog-svn] r552 - plog/trunk/class/view/admin

oscar at devel.plogworld.net oscar at devel.plogworld.net
Sun Dec 19 17:58:31 GMT 2004


Author: oscar
Date: 2004-12-19 17:58:30 +0000 (Sun, 19 Dec 2004)
New Revision: 552

Modified:
   plog/trunk/class/view/admin/admineditresourcealbumview.class.php
Log:
forgot to throw the RESOURCE_ALBUM_LOADED event!!


Modified: plog/trunk/class/view/admin/admineditresourcealbumview.class.php
===================================================================
--- plog/trunk/class/view/admin/admineditresourcealbumview.class.php	2004-12-19 17:45:24 UTC (rev 551)
+++ plog/trunk/class/view/admin/admineditresourcealbumview.class.php	2004-12-19 17:58:30 UTC (rev 552)
@@ -19,7 +19,8 @@
 			// load the nested list of albums
 			$albums = new GalleryAlbums();
 			$userAlbums = $albums->getNestedAlbumList( $this->_blogInfo->getId());		
-			$this->setValue( "albums", $userAlbums );		
+			$this->notifyEvent( EVENT_ALBUMS_LOADED, Array( "albums" => &$userAlbums ));			
+			$this->setValue( "albums", $userAlbums );
 			
 			// let the parent view do its work
 			parent::render();




More information about the pLog-svn mailing list