Show
Ignore:
Timestamp:
01/21/2008 10:59:46 AM (12 months ago)
Author:
Geert
Message:

Oops, that's better.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/libraries/Image.php

    r1773 r1774  
    8080                $this->driver = new $driver($this->config['params']); 
    8181 
    82                 if ( ! (self::$driver instanceof Image_Driver)) 
     82                if ( ! ($this->driver instanceof Image_Driver)) 
    8383                        throw new Kohana_Exception('image.invalid_driver', $driver); 
    8484        }