1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

Notice Removal

This commit is contained in:
CaMer0n
2009-09-21 22:50:07 +00:00
parent 7390c49b08
commit 4b2880f36f
2 changed files with 9 additions and 8 deletions

View File

@@ -9,8 +9,8 @@
* mySQL Handler * mySQL Handler
* *
* $Source: /cvs_backup/e107_0.8/e107_handlers/mysql_class.php,v $ * $Source: /cvs_backup/e107_0.8/e107_handlers/mysql_class.php,v $
* $Revision: 1.54 $ * $Revision: 1.55 $
* $Date: 2009-09-17 14:25:10 $ * $Date: 2009-09-21 22:50:07 $
* $Author: e107coders $ * $Author: e107coders $
*/ */
@@ -49,7 +49,7 @@ $db_ConnectionID = NULL; // Stores ID for the first DB connection used - which s
* *
* @package e107 * @package e107
* @category e107_handlers * @category e107_handlers
* @version $Revision: 1.54 $ * @version $Revision: 1.55 $
* @author $Author: e107coders $ * @author $Author: e107coders $
* *
*/ */
@@ -70,7 +70,8 @@ class e_db_mysql {
var $mySQLlanguage; var $mySQLlanguage;
var $mySQLinfo; var $mySQLinfo;
var $tabset; var $tabset;
private $mySQLtableList = array(); // list of all Db tables. var $mySQLtablelist = array(); // list of all Db tables.
var $mySQLtableListLanguage = array(); // Db table list for the currently selected language var $mySQLtableListLanguage = array(); // Db table list for the currently selected language
/** /**
@@ -952,7 +953,7 @@ class e_db_mysql {
} }
} }
return ($lanlist) ? $lanlist : FALSE; return (varset($lanlist)) ? $lanlist : FALSE;
} }
// ------------------------- // -------------------------

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/e107_handlers/plugin_class.php,v $ | $Source: /cvs_backup/e107_0.8/e107_handlers/plugin_class.php,v $
| $Revision: 1.91 $ | $Revision: 1.92 $
| $Date: 2009-09-21 21:53:37 $ | $Date: 2009-09-21 22:50:07 $
| $Author: e107coders $ | $Author: e107coders $
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
*/ */
@@ -1435,7 +1435,7 @@ class e107plugin
if(count($vars) <= 1) { $vars = array($vars); } if(count($vars) <= 1) { $vars = array($vars); }
foreach($vars as $var) foreach($vars as $var)
{ {
$attrib = $var['@attributes']; $attrib = varset($var['@attributes']);
if(isset($attrib['when']) && $attrib['when'] == $when) if(isset($attrib['when']) && $attrib['when'] == $when)
{ {
if(is_readable($path.$attrib['file'])) if(is_readable($path.$attrib['file']))