Revision 1416
Added by Luisehahne almost 15 years ago
| branches/2.8.x/CHANGELOG | ||
|---|---|---|
| 11 | 11 |
! = Update/Change |
| 12 | 12 |
|
| 13 | 13 |
------------------------------------- 2.8.2 ------------------------------------- |
| 14 |
24 Jan-2011 Build 1416 Dietmar Woellbrink (Luisehahne) |
|
| 15 |
# fixed unsafe sql queries |
|
| 14 | 16 |
24 Jan-2011 Build 1415 Werner v.d.Decken(DarkViper) |
| 15 | 17 |
# fixed unsafe sql queries |
| 16 | 18 |
23 Jan-2011 Build 1414 Dietmar Woellbrink (Luisehahne) |
| branches/2.8.x/wb/admin/pages/index.php | ||
|---|---|---|
| 227 | 227 |
{
|
| 228 | 228 |
$sql = 'SELECT `publ_start`, `publ_end` FROM `'.TABLE_PREFIX.'sections` '; |
| 229 | 229 |
$sql .= 'WHERE `page_id` = '.$page['page_id'].' AND `module` != \'menu_link\' '; |
| 230 |
$query_sections = $database->query($sql); |
|
| 231 |
|
|
| 232 | 230 |
// $query_sections = $database->query("SELECT publ_start, publ_end FROM ".TABLE_PREFIX."sections WHERE page_id = '{$page['page_id']}' AND module != 'menu_link'");
|
| 233 |
|
|
| 234 |
if (isset($query_sections) && $query_sections->numRows() > 0) |
|
| 231 |
if( ($query_sections = $database->query($sql)) ) |
|
| 235 | 232 |
{
|
| 236 | 233 |
$mdate_display=false; |
| 237 | 234 |
while($mdate_res = $query_sections->fetchRow()) |
| branches/2.8.x/wb/admin/interface/version.php | ||
|---|---|---|
| 52 | 52 |
|
| 53 | 53 |
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled) |
| 54 | 54 |
if(!defined('VERSION')) define('VERSION', '2.8.2.RC5');
|
| 55 |
if(!defined('REVISION')) define('REVISION', '1415');
|
|
| 55 |
if(!defined('REVISION')) define('REVISION', '1416');
|
|
| 56 | 56 |
|
| 57 | 57 |
?> |
Also available in: Unified diff
fixed unsafe sql queries