Changeset 1951

Show
Ignore:
Timestamp:
05/23/06 17:12:17 (7 years ago)
Author:
mheydon1973
Message:

fixes a warning about TOKs and things I think, as reported by tuck3r on IRC

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.1/ringgroups/functions.inc.php

    r1790 r1951  
    4646          $ext->add($contextname, $grpnum, '', new ext_macro('user-callerid')); 
    4747          // check for old prefix 
    48           $ext->add($contextname, $grpnum, '', new ext_gotoif('$[${CALLERID(name):0:${LEN(${RGPREFIX})}} != ${RGPREFIX}]', 'NEWPREFIX')); 
     48          $ext->add($contextname, $grpnum, '', new ext_gotoif('$["${CALLERID(name):0:${LEN(${RGPREFIX})}}" != "${RGPREFIX}"]', 'NEWPREFIX')); 
    4949          // strip off old prefix 
    5050          $ext->add($contextname, $grpnum, '', new ext_setvar('CALLERID(name)','${CALLERID(name):${LEN(${RGPREFIX})}}')); 
  • modules/branches/2.1/ringgroups/module.xml

    r1861 r1951  
    22  <rawname>ringgroups</rawname> 
    33  <name>Ring Groups</name> 
    4   <version>1.2.1</version> 
     4  <version>1.2.2</version> 
    55  <type>setup</type> 
    66  <category>Basic</category>