Changeset 16934 for branches


Ignore:
Timestamp:
Jul 23, 2012, 3:33:55 PM (12 years ago)
Author:
plg
Message:

bug 2705 fixed: if the rotation is "0", no rotation is needed, we skip the
rotate function which behaves badly (in ExtIM) with a zero degree rotation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4/admin/include/image.class.php

    r16242 r16934  
    134134    $this->image->resize($resize_dimensions['width'], $resize_dimensions['height']);
    135135
    136     if (isset($rotation))
     136    if (!empty($rotation))
    137137    {
    138138      $this->image->rotate($rotation);
Note: See TracChangeset for help on using the changeset viewer.