From: <jhe...@us...> - 2002-08-05 08:29:05
|
Update of /cvsroot/upcase-project/UpCase/lib In directory usw-pr-cvs1:/tmp/cvs-serv455 Modified Files: uc_object.php Log Message: Use global config object Index: uc_object.php =================================================================== RCS file: /cvsroot/upcase-project/UpCase/lib/uc_object.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** uc_object.php 16 Jul 2002 15:31:56 -0000 1.1.1.1 --- uc_object.php 5 Aug 2002 08:29:02 -0000 1.2 *************** *** 46,53 **** function getDescription($lang) { ! global $uc_config; if (strlen($this->description->$lang) == 0) { ! $lang = $uc_config["defaultlang"]; } --- 46,53 ---- function getDescription($lang) { ! global $ucConfig; if (strlen($this->description->$lang) == 0) { ! $lang = $ucConfig->defaultLang; } |