[pLog-svn] r786 - plog/trunk/class/action/admin

oscar at devel.plogworld.net oscar at devel.plogworld.net
Fri Jan 21 19:22:53 GMT 2005


Author: oscar
Date: 2005-01-21 19:22:52 +0000 (Fri, 21 Jan 2005)
New Revision: 786

Modified:
   plog/trunk/class/action/admin/admineditresourcealbumaction.class.php
Log:
fixed a stupid crash bug

Modified: plog/trunk/class/action/admin/admineditresourcealbumaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admineditresourcealbumaction.class.php	2005-01-21 17:25:46 UTC (rev 785)
+++ plog/trunk/class/action/admin/admineditresourcealbumaction.class.php	2005-01-21 19:22:52 UTC (rev 786)
@@ -29,7 +29,7 @@
 			
 			$this->registerFieldValidator( "albumId", new IntegerValidator());
 			$view = new AdminResourcesListView( $this->_blogInfo );
-			$view->setErrorMessage( $this->_locale->tr("error_album_id_parameter_missing"));
+			$view->setErrorMessage( $this->_locale->tr("error_incorrect_album_id"));
 			$this->setValidationErrorView( $view );
         }
 
@@ -45,7 +45,7 @@
 
             if( !$album ) {
             	$this->_view = new AdminResourcesListView( $this->_blogInfo );
-                $this->_view->setErrorMessage( $this->_locale->tr("error_loading_resource_album"));
+                $this->_view->setErrorMessage( $this->_locale->tr("error_fetching_album"));
             }
             else {
 				// and put everything into the template




More information about the pLog-svn mailing list