Ticket #358: Image.php.patch

File Image.php.patch, 0.6 kB (added by dynom, 11 months ago)

fix

  • system/libraries/Image.php

    old new  
    22/** 
    33 * Manipulate images using standard methods such as resize, crop, rotate, etc. 
    44 * This class must be re-initialized for every image you wish to manipulate. 
    5  * 
     5 *  
    66 * $Id: Image.php 1863 2008-01-29 15:59:11Z Geert $ 
    77 * 
    88 * @package    Image 
     
    246246         * @param   integer  quality as a percentage 
    247247         * @return  object 
    248248         */ 
    249         public function quality($amount) 
     249        public function quality($value) 
    250250        { 
    251251                $this->actions['quality'] = max(1, min($amount, 100)); 
    252252