Changeset 5012


Ignore:
Timestamp:
Mar 1, 2010, 2:02:49 PM (11 years ago)
Author:
laurent.duretz
Message:

Issue 1471 : incomplete test correction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/tools/create_listing_file.php

    r5009 r5012  
    208208   
    209209    // Backup input/output format support
    210     array_push($pwg_conf['gd_supported_format'], isset($info['JPG Support']) or isset($info['JPEG Support']) ? 'jpeg' : NULL);
     210    array_push($pwg_conf['gd_supported_format'], (isset($info['JPG Support']) and $info['JPG Support']) or (isset($info['JPEG Support']) and $info['JPEG Support']) ? 'jpeg' : NULL);
    211211    array_push($pwg_conf['gd_supported_format'], $info['PNG Support'] ? 'png' : NULL);
    212212    array_push($pwg_conf['gd_supported_format'], ($info['GIF Read Support'] and $info['GIF Create Support']) ? 'gif' : NULL);
     
    11071107      $format = ($info['GIF Create Support']) ? '<code>gif</code>' : NULL;
    11081108      array_push($format_list, $format);
    1109       $format = (isset($info['JPG Support']) or isset($info['JPEG Support'])) ? '<code>jpg</code>' : NULL;
     1109      $format = ((isset($info['JPG Support']) and $info['JPG Support']) or (isset($info['JPEG Support']) and $info['JPEG Support'])) ? '<code>jpg</code>' : NULL;
    11101110      array_push($format_list, $format);
    11111111      $format = ($info['PNG Support']) ? '<code>png</code>' : NULL;
Note: See TracChangeset for help on using the changeset viewer.