Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1415)
+++ branches/2.8.x/CHANGELOG	(revision 1416)
@@ -11,6 +11,8 @@
 ! = Update/Change
 
 ------------------------------------- 2.8.2 -------------------------------------
+24 Jan-2011 Build 1416 Dietmar Woellbrink (Luisehahne)
+# fixed unsafe sql queries
 24 Jan-2011 Build 1415 Werner v.d.Decken(DarkViper)
 # fixed unsafe sql queries
 23 Jan-2011 Build 1414 Dietmar Woellbrink (Luisehahne)
Index: branches/2.8.x/wb/admin/pages/index.php
===================================================================
--- branches/2.8.x/wb/admin/pages/index.php	(revision 1415)
+++ branches/2.8.x/wb/admin/pages/index.php	(revision 1416)
@@ -227,11 +227,8 @@
                 {
                     $sql = 'SELECT `publ_start`, `publ_end` FROM `'.TABLE_PREFIX.'sections` ';
                     $sql .= 'WHERE `page_id` = '.$page['page_id'].' AND `module` != \'menu_link\' ';
-                    $query_sections = $database->query($sql);
-
 					// $query_sections = $database->query("SELECT publ_start, publ_end FROM ".TABLE_PREFIX."sections WHERE page_id = '{$page['page_id']}' AND module != 'menu_link'");
-
-					if (isset($query_sections) && $query_sections->numRows() > 0)
+					if( ($query_sections = $database->query($sql)) )
                     {
 						$mdate_display=false;
 						while($mdate_res = $query_sections->fetchRow())
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 1415)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 1416)
@@ -52,6 +52,6 @@
 
 // check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
 if(!defined('VERSION')) define('VERSION', '2.8.2.RC5');
-if(!defined('REVISION')) define('REVISION', '1415');
+if(!defined('REVISION')) define('REVISION', '1416');
 
 ?>
