[evolvis-commits] r17554: improve error msg

mirabilos at evolvis.org mirabilos at evolvis.org
Tue Sep 20 11:07:09 CEST 2011


Author: mirabilos
Date: 2011-09-20 11:07:09 +0200 (Tue, 20 Sep 2011)
New Revision: 17554

Modified:
   branches/ev48fixes/common/include/Group.class.php
Log:
improve error msg


Modified: branches/ev48fixes/common/include/Group.class.php
===================================================================
--- branches/ev48fixes/common/include/Group.class.php	2011-09-20 09:02:31 UTC (rev 17553)
+++ branches/ev48fixes/common/include/Group.class.php	2011-09-20 09:07:09 UTC (rev 17554)
@@ -1708,7 +1708,8 @@
 			//	make sure user is active
 			//
 			if (db_result($res_newuser,0,'status') != 'A') {
-				$this->setError(_('User is not active. Only active users can be added.'));
+				$this->setError(db_result($res_newuser,0,'user_name') . ' ' .
+				    _('User is not active. Only active users can be added.'));
 				db_rollback();
 				return false;
 			}



More information about the evolvis-commits mailing list