public
Description: Git mirror of the CMS Made Simple 2.0 rewrite
Homepage: http://cmsmadesimple.org
Clone URL: git://github.com/tedkulp/cmsmadesimple-2-0.git
Search Repo:
(Ted) fixed a problem with notices from lang calls on the admin page.  An 
ordering of conditionals issue.


git-svn-id: http://svn.cmsmadesimple.org/svn/cmsmadesimple/trunk@3135 
3d254a34-79dc-0310-9e5f-be208747d8a0
calguy1000 (author)
Mon Jul 24 17:57:41 -0700 2006
commit  bea5bf2b943fc5ef3a63235b1633421a34e36881
tree    a0ce1b2b8605b3a57fe7c5e644a11ad92357e077
parent  e33b884fb6aab515d934c43c7160609df59ad653
...
2880
2881
2882
2883
 
 
2884
2885
2886
...
2880
2881
2882
 
2883
2884
2885
2886
2887
0
@@ -2880,7 +2880,8 @@ class CMSModule
0
     $ourlang = $this->curlang;
0
 
0
     #Load the language if it's not loaded
0
- if ((is_array($this->langhash[$ourlang]) && count(array_keys($this->langhash[$ourlang])) == 0) || !isset($this->langhash[$ourlang]) || !is_array($this->langhash[$ourlang]))
0
+ if (!isset($this->langhash[$ourlang]) || !is_array($this->langhash[$ourlang]) ||
0
+ (is_array($this->langhash[$ourlang]) && count(array_keys($this->langhash[$ourlang])) == 0))
0
     {
0
       $dir = $gCms->config['root_path'];
0
 

Comments

    No one has commented yet.