Changeset 12494


Ignore:
Timestamp:
Oct 19, 2011, 3:07:17 PM (13 years ago)
Author:
patdenice
Message:

merge r12493 from trunk to branch 2.3
bug:2479
External ImageMagick library is not properly detected

File:
1 edited

Legend:

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

    r11964 r12494  
    272272      return false;
    273273    }
    274     @exec($conf['ext_imagick_dir'].'convert -version', $returnarray, $returnvalue);
    275     if (!$returnvalue and !empty($returnarray[0]) and preg_match('/ImageMagick/i', $returnarray[0]))
     274    @exec($conf['ext_imagick_dir'].'convert -version', $returnarray);
     275    if (is_array($returnarray) and !empty($returnarray[0]) and preg_match('/ImageMagick/i', $returnarray[0]))
    276276    {
    277277      return true;
Note: See TracChangeset for help on using the changeset viewer.