Dotclear

Changeset 3567:41409aa93149


Ignore:
Timestamp:
08/07/17 08:37:02 (8 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
2.12
Message:

The publicBeforeContentFilter and publicAfterContentFilter will not more have opportunities to modify existing attributes; we need to find another and stronger way to work with modifiable objects in future… ; next 2.12.1 release in progress… (may be for the next 13 of august?)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/public/lib.tpl.context.php

    r3507 r3567  
    122122     } 
    123123 
    124      public static function global_filters($str,$_args,$tag='') 
    125      { 
    126           $_args[0] = &$str; 
    127  
    128           # Terrible hack to pass args values by reference 
    129           $args = new ArrayObject($_args); 
     124     public static function global_filters($str,$args,$tag='') 
     125     { 
     126          $args[0] = &$str; 
    130127 
    131128          # --BEHAVIOR-- publicBeforeContentFilter 
Note: See TracChangeset for help on using the changeset viewer.

Sites map