Changeset 350 for trunk


Ignore:
Timestamp:
04/27/07 15:33:32 (16 years ago)
Author:
bastiaans
Message:

web/addons/job_monarch/libtoga.php:

  • fixed: referencial foreach not supported by php4
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/addons/job_monarch/libtoga.php

    r340 r350  
    16581658                $xoffset        = 5;
    16591659
    1660                 foreach( $this->headerstrlen as $headername => &$headerlen ) {
     1660                foreach( $this->headerstrlen as $headername => $headerlen ) {
    16611661
    16621662                        $colorgreen     = imageColorAllocate( $this->image, 0, 200, 0 );
     
    16651665               
    16661666                        if( $headerlen < strlen( $headername ) )
    1667                                 $headerlen      = strlen( $headername );
     1667                                $this->headerstrlen[$headername]        = strlen( $headername );
    16681668
    16691669                        $xoffset        = $xoffset + ($this->fontwidth * ( $headerlen + 1 ) );
Note: See TracChangeset for help on using the changeset viewer.