From: <gem...@li...> - 2012-02-02 12:39:31
|
Revision: 443 http://gemstracker.svn.sourceforge.net/gemstracker/?rev=443&view=rev Author: matijsdejong Date: 2012-02-02 12:39:24 +0000 (Thu, 02 Feb 2012) Log Message: ----------- Fix for spaces around super username/password Modified Paths: -------------- branches/1.5.x/library/classes/Gems/Project/ProjectSettings.php Modified: branches/1.5.x/library/classes/Gems/Project/ProjectSettings.php =================================================================== --- branches/1.5.x/library/classes/Gems/Project/ProjectSettings.php 2012-01-31 15:41:22 UTC (rev 442) +++ branches/1.5.x/library/classes/Gems/Project/ProjectSettings.php 2012-02-02 12:39:24 UTC (rev 443) @@ -293,7 +293,7 @@ public function getSuperAdminName() { if (isset($this->admin) && isset($this->admin['user'])) { - return $this->admin['user']; + return trim($this->admin['user']); } } @@ -305,7 +305,7 @@ protected function getSuperAdminPassword() { if (isset($this->admin) && isset($this->admin['pwd'])) { - return $this->admin['pwd']; + return trim($this->admin['pwd']); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |