Changeset 4142


Ignore:
Timestamp:
Oct 29, 2009, 12:40:19 AM (11 years ago)
Author:
tiico
Message:

[ConcoursPhoto] Correct bug with criteria update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/ConcoursPhoto/include/Concours.class.php

    r3905 r4142  
    516516                                min_value = '.$datas['min_value'].',
    517517                                max_value = '.$datas['max_value'].',
    518                                 ponderation = '.$datas['ponderation'].',
    519                                 uppercriteria = '.($datas['uppercriteria'] ? $datas['uppercriteria'] : 'NULL').'
     518                                '.($datas['uppercriteria'] == false ? '' : 'uppercriteria = '.($datas['uppercriteria'] ? $datas['uppercriteria'].',' : 'NULL ,')).'
     519                                ponderation = '.$datas['ponderation'].'
    520520                                WHERE id = '.$datas['id'].';';
    521521
Note: See TracChangeset for help on using the changeset viewer.