Project

General

Profile

« Previous | Next » 

Revision 50

Added by stefan about 19 years ago

Fixed typo

View differences:

trunk/wb/framework/class.frontend.php
418 418
		// Make sure block is numeric
419 419
		if(!is_numeric($block)) { $block = 1; }
420 420
		// Include page content
421
		if(!defined('PAGE_CONTENT') OR block!=1) {
421
		if(!defined('PAGE_CONTENT') OR $block!=1) {
422 422
			// First get all sections for this page
423 423
			$query_sections = $database->query("SELECT section_id,module FROM ".TABLE_PREFIX."sections WHERE page_id = '".PAGE_ID."' AND block = '$block' ORDER BY position");
424 424
			if($query_sections->numRows() > 0) {

Also available in: Unified diff