Changeset 5011


Ignore:
Timestamp:
03/01/10 14:02:33 (10 years ago)
Author:
laurent.duretz
Message:

Issue 1471 : incomplete test correction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/create_listing_file.php

    r5010 r5011  
    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.