Ignore:
Timestamp:
Jun 5, 2012, 8:06:53 PM (12 years ago)
Author:
rvelices
Message:

multisize - avoid php warning for rotation_angle; better error logging; javascript avoid navigation to empty # anchor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/image.class.php

    r14723 r15551  
    276276  static function get_rotation_angle_from_code($rotation_code)
    277277  {
    278     switch($rotation_code)
     278    switch($rotation_code%4)
    279279    {
    280280      case 0: return 0;
     
    624624    if (is_array($returnarray) && (count($returnarray)>0) )
    625625    {
    626       ilog($returnarray);
     626      ilog('ERROR', $returnarray);
    627627    }
    628628    return is_array($returnarray);
Note: See TracChangeset for help on using the changeset viewer.