CMS MADE SIMPLE FORGE

CMS Made Simple Core

 

[#4720] Error in class.module.inc.php

avatar
Created By: Georg Busch (nan)
Date Submitted: Tue Mar 23 18:21:21 -0400 2010

Assigned To:
Version: 1.7.1
CMSMS Version: None
Severity: Trivial
Resolution: Fixed
State: Closed
Summary:
Error in class.module.inc.php
Detailed Description:
In line 70/71 of class.module.php there it says

if (isset($config['locale']) && $config['locale'] != '') {
	$this->curlang = $config['locale'];

but it should be

if (isset($this->config['locale']) && $this->config['locale'] != '') {
	$this->curlang = $this->config['locale'];

since the var $config does not exist here.


History

Comments
avatar
Date: 2010-05-07 12:39
Posted By: Ronny Krijt (ronnyk)

1.7.1 is released.
      
avatar
Date: 2010-05-11 10:57
Posted By: Georg Busch (nan)

Bugfix is incomplete.
In line 73 of class.module.inc.php it still says $config['locale'] instead of
$this->config['locale'] what results in the error message:
"Notice: Undefined variable: config in
/www/htdocs/tgovb/cms/lib/classes/class.module.inc.php  on line 73"
      
avatar
Date: 2010-07-01 14:32
Posted By: Ronny Krijt (ronnyk)

Fixed in SVN. WIll be inside 1.8.
      
avatar
Date: 2010-07-06 14:29
Posted By: Rolf (rolf1)

1.8 is released
      
Updates

Updated: 2010-07-06 14:29
state: Open => Closed

Updated: 2010-07-01 14:32
resolution_id: 5 => 7

Updated: 2010-05-11 10:57
version_id: 28373 => 28473
resolution_id: 7 => 5
state: Closed => Open

Updated: 2010-05-07 12:39
state: Open => Closed

Updated: 2010-04-09 17:27
resolution_id: => 7