diff options
author | Michael Hamann <michael@content-space.de> | 2010-11-30 18:34:10 +0100 |
---|---|---|
committer | Michael Hamann <michael@content-space.de> | 2010-11-30 18:46:28 +0100 |
commit | 359fab8b2f7d0847ef0cf9b669e6c8ffb0687525 (patch) | |
tree | 21294f130e32a797a2c0a5c7a2f4cce0f384ea99 /inc/template.php | |
parent | 38dc5fa6df9a0cd5afd16dc95600d7cf11b08877 (diff) | |
download | rpg-359fab8b2f7d0847ef0cf9b669e6c8ffb0687525.tar.gz rpg-359fab8b2f7d0847ef0cf9b669e6c8ffb0687525.tar.bz2 |
Revert "Fix for $conf['breadcrumbs'] < 0, FS#2107", new fix
This reverts commit 4871414204799044c31aa2764c4b4ca020e2331d.
Additionally there is a new fix for FS#2107 that doesn't introduce a lot
of checks but instead ensures that the configuration option can't be set
to negative values when the configuration manager is used.
Diffstat (limited to 'inc/template.php')
-rw-r--r-- | inc/template.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/template.php b/inc/template.php index d171ab075..53ae9abce 100644 --- a/inc/template.php +++ b/inc/template.php @@ -690,7 +690,7 @@ function tpl_breadcrumbs($sep='»'){ global $conf; //check if enabled - if(!is_numeric($conf['breadcrumbs']) || $conf['breadcrumbs'] <= 0) return false; + if(!$conf['breadcrumbs']) return false; $crumbs = breadcrumbs(); //setup crumb trace |