Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
silence some notices
[wfpl.git]
/
template.php
diff --git
a/template.php
b/template.php
index
c1df1c1
..
1f2592a
100644
(file)
--- a/
template.php
+++ b/
template.php
@@
-424,7
+424,8
@@
function &tem_is_old_sub($name, &$template) {
if($tem) return $tem;
}
}
if($tem) return $tem;
}
}
- return false;
+ $false = false;
+ return $false;
}
class tem {
}
class tem {
@@
-546,7
+547,7
@@
class tem {
}
function tem_init() {
}
function tem_init() {
- if(!$GLOBALS['wfpl_template']) {
+ if(!isset($GLOBALS['wfpl_template']) || !$GLOBALS['wfpl_template']) {
$GLOBALS['wfpl_template'] = new tem();
}
}
$GLOBALS['wfpl_template'] = new tem();
}
}