Skip to content

Commit a5fbec9

Browse files
committed
Fixing ELEMENT marker
1 parent 5d4172d commit a5fbec9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/marker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@ public static function ELEMENT($vars = array())
753753
//CACHE DATA
754754
if(CACHE) {
755755

756-
$query = Cache::remember('page_element_'.$_el, function() {
756+
$query = Cache::remember('page_element_'.$_el, function() use ($_el) {
757757

758758
return $menu = CmsElement::find($_el);
759759

0 commit comments

Comments
 (0)