From: Eloi G. <ada...@us...> - 2004-09-23 19:02:39
|
Update of /cvsroot/phpwsbb/phpwsbb/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19790/class Modified Files: Manager.php Log Message: Fixed code that generated some "undefined variable" notices Index: Manager.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Manager.php,v retrieving revision 1.50 retrieving revision 1.51 diff -C2 -d -r1.50 -r1.51 *** Manager.php 23 Sep 2004 07:33:27 -0000 1.50 --- Manager.php 23 Sep 2004 19:02:27 -0000 1.51 *************** *** 1386,1390 **** // Determine user's rank if($result['posts']&& $this->_user_ranks) { ! $isSpecialuser = $result['deity'] || stristr($result['varValue'], 'lock_threads'); foreach ($this->_user_ranks as $rank) if(($rank['rank_min']<=$result['posts']) --- 1386,1390 ---- // Determine user's rank if($result['posts']&& $this->_user_ranks) { ! $isSpecialuser = (isset($result['deity']) && $result['deity']) || (isset($result['varValue']) && stristr($result['varValue'], 'lock_threads')); foreach ($this->_user_ranks as $rank) if(($rank['rank_min']<=$result['posts']) |