Changeset 51

Show
Ignore:
Timestamp:
05/13/05 00:05:07
Author:
hspath
Message:

fixed bug #105 - "SCOPE attribute doesn't work"

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/extensions/var/patXMLRendererVarExtension.php

    r2 r51  
    2323*       @var    string  $version 
    2424*/ 
    25         var     $version        =       "0.4"; 
     25        var     $version        =       "0.5"; 
    2626 
    2727/** 
     
    116116                                        default: 
    117117                                                $scope  =       &$this->resolveScope( $attributes["SCOPE"] ); 
    118                                                 return  $scope[$varname]; 
     118                                                return  @$scope[$varname]; 
    119119                                                break; 
    120120                                } 
     
    152152        function        &resolveScope( $scopeName ) 
    153153        { 
    154                 switch( strtoupper( $attributes["SCOPE"] ) ) 
     154                switch( strtoupper( $scopeName ) ) 
    155155                { 
    156156                        //      cookie