diff options
Diffstat (limited to 'inc')
-rw-r--r-- | inc/common.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/common.php b/inc/common.php index 80c866815..63a9f37a0 100644 --- a/inc/common.php +++ b/inc/common.php @@ -119,6 +119,10 @@ function msg($message,$lvl=0){ * @author Andreas Gohr <andi@splitbrain.org> */ function breadcrumbs(){ + // we prepare the breadcrumbs early for quick session closing + static $crumbs = null; + if($crumbs != null) return $crumbs; + global $ID; global $ACT; global $conf; |