Revision 1836
Added by Dietmar almost 12 years ago
- fixed WB admin wrapper script, could never run at end if section_id == 0
branches/2.8.x/CHANGELOG | ||
---|---|---|
13 | 13 |
|
14 | 14 |
|
15 | 15 |
|
16 |
12 Dez-2012 Build 1836 Dietmar Woellbrink (Luisehahne) |
|
17 |
# fixed WB admin wrapper script, could never run at end if section_id == 0 |
|
16 | 18 |
10 Dez-2012 Build 1835 Dietmar Woellbrink (Luisehahne) |
17 | 19 |
! update dragdrop reorder positions of a page tree |
18 | 20 |
10 Dez-2012 Build 1834 Dietmar Woellbrink (Luisehahne) |
branches/2.8.x/wb/admin/interface/version.php | ||
---|---|---|
51 | 51 |
|
52 | 52 |
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled) |
53 | 53 |
if(!defined('VERSION')) define('VERSION', '2.8.3'); |
54 |
if(!defined('REVISION')) define('REVISION', '1835');
|
|
54 |
if(!defined('REVISION')) define('REVISION', '1836');
|
|
55 | 55 |
if(!defined('SP')) define('SP', ''); |
branches/2.8.x/wb/modules/admin.php | ||
---|---|---|
35 | 35 |
$page_id = isset($aActionRequest['page_id']) ? intval($aActionRequest['page_id']) : (isset($page_id) ? intval($page_id) : 0); |
36 | 36 |
$section_id = isset($aActionRequest['section_id']) ? intval($aActionRequest['section_id']) : (isset($section_id) ? intval($section_id) : 0); |
37 | 37 |
|
38 |
if( ($page_id == 0) ||( $section_id == 0) ) {
|
|
38 |
if( ($page_id == 0) ) { |
|
39 | 39 |
$admin->send_header("Location: index.php"); |
40 | 40 |
exit(0); |
41 | 41 |
} |
Also available in: Unified diff