Changeset 48489 in spip-zone
- Timestamp:
- Jun 4, 2011, 11:28:32 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/svp/inc/where_compatible_spip.php
r48486 r48489 20 20 ELSE TRIM(LEADING \'[\' FROM '.$min.') <= \''.$version.'\' 21 21 END 22 22 AND 23 23 CASE WHEN '.$max.' = \'\' 24 24 OR '.$max.' = \']\' … … 35 35 // le critere s'applique a une BRANCHE (1.9, 2.0, ...) 36 36 elseif (count(explode('.', $version)) == 2) { 37 $where = 'LOCATE(\''.$version.'\', '.$table.'.branches_spip) '.$op.' 0 ;';37 $where = 'LOCATE(\''.$version.'\', '.$table.'.branches_spip) '.$op.' 0'; 38 38 } 39 39 // le critere est vide ou mal specifie 40 40 else { 41 $where = ' \'1=1\';';41 $where = '1=1'; 42 42 } 43 43
Note: See TracChangeset
for help on using the changeset viewer.