From: <gem...@li...> - 2011-11-15 11:06:07
|
Revision: 218 http://gemstracker.svn.sourceforge.net/gemstracker/?rev=218&view=rev Author: mennodekker Date: 2011-11-15 11:05:57 +0000 (Tue, 15 Nov 2011) Log Message: ----------- Fixed multiLocale Modified Paths: -------------- trunk/library/classes/Gems/Project/ProjectSettings.php Modified: trunk/library/classes/Gems/Project/ProjectSettings.php =================================================================== --- trunk/library/classes/Gems/Project/ProjectSettings.php 2011-11-15 10:29:43 UTC (rev 217) +++ trunk/library/classes/Gems/Project/ProjectSettings.php 2011-11-15 11:05:57 UTC (rev 218) @@ -143,7 +143,7 @@ $this->offsetSet('name', GEMS_PROJECT_NAME); } - $this->offsetSet('multiLocale', isset($project->locales) && (count($project->locales) > 1)); + $this->offsetSet('multiLocale', $this->offsetExists('locales') && (count($this->offsetGet('locales')) > 1)); } /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |