Project

General

Profile

« Previous | Next » 

Revision 1503

Added by Dietmar about 13 years ago

change sql statements to strict in module droplets
fix vars in compatibility mode for versions before 2.8.1 in frontend.functions.php

View differences:

frontend.functions.php
23 23
}
24 24
/* -------------------------------------------------------- */
25 25
// compatibility mode for versions before 2.8.1
26
	$admin            = $wb;
27
	$default_link     = $wb->default_link;
28
	$page_trail       = $wb->page_trail;
29
	$page_description = $wb->page_description;
30
	$page_keywords    = $wb->page_keywords;
31
	$page_link        = $wb->link;
26
	if(isset($wb)) {$admin = $wb; }
27
	if(isset($wb->default_link)) { $default_link = $wb->default_link; }
28
	if(isset($wb->page_trail)) {$page_trail = $wb->page_trail; }
29
	if(isset($wb->page_description)) {$page_description = $wb->page_description;}
30
	if(isset($wb->page_keywords)) {$page_keywords = $wb->page_keywords;}
31
	if(isset($wb->link)) {$page_link = $wb->link;}
32 32

  
33 33
	$include_head_link_css = '';
34 34
	$include_body_links    = '';

Also available in: Unified diff