Changeset 3505:b5417625549b for inc
- Timestamp:
- 01/07/17 14:03:17 (9 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/public/lib.tpl.context.php
r3502 r3505 127 127 128 128 # Terrible hack to pass args values by reference 129 $args = array();129 $args = new ArrayObject(); 130 130 foreach($_args as $k => &$v) { 131 131 $args[$k] = &$v; … … 134 134 # --BEHAVIOR-- publicBeforeContentFilter 135 135 $res = $GLOBALS['core']->callBehavior('publicBeforeContentFilter',$GLOBALS['core'],$tag,$args); 136 $str = $args[0]; 136 137 137 138 if ($args['strip_tags']) { … … 164 165 # --BEHAVIOR-- publicAfterContentFilter 165 166 $res = $GLOBALS['core']->callBehavior('publicAfterContentFilter',$GLOBALS['core'],$tag,$args); 167 $str = $args[0]; 166 168 167 169 return $str;
Note: See TracChangeset
for help on using the changeset viewer.