Project

General

Profile

« Previous | Next » 

Revision 1836

Added by Dietmar almost 12 years ago

  1. fixed WB admin wrapper script, could never run at end if section_id == 0

View differences:

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