summaryrefslogtreecommitdiff
path: root/kohana/libraries/Image.php
diff options
context:
space:
mode:
Diffstat (limited to 'kohana/libraries/Image.php')
-rw-r--r--kohana/libraries/Image.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/kohana/libraries/Image.php b/kohana/libraries/Image.php
index c9e82a1c..d740272d 100644
--- a/kohana/libraries/Image.php
+++ b/kohana/libraries/Image.php
@@ -292,7 +292,7 @@ class Image_Core {
*/
public function flip($direction)
{
- if ($direction !== self::HORIZONTAL AND $direction !== self::VERTICAL)
+ if ($direction !== Image::HORIZONTAL AND $direction !== Image::VERTICAL)
throw new Kohana_Exception('image.invalid_flip');
$this->actions['flip'] = $direction;