Changeset 93641 in spip-zone for _core_/plugins/grenier/exec/memoriser.php
- Timestamp:
- Dec 13, 2015, 2:41:19 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_core_/plugins/grenier/exec/memoriser.php
r89285 r93641 28 28 if ($res = $ajax_fonctions[$hash]) { 29 29 include_spip('inc/afficher_objets'); 30 list(, $t,$r,$f) = $res;30 list(, $t, $r, $f) = $res; 31 31 if (preg_match('/^[a-z0-9+.,]+$/', $by) 32 ANDpreg_match('/^\w*$/', $order)) {32 and preg_match('/^\w*$/', $order)) { 33 33 $r['ORDER BY'] = str_replace(',', " $order, ", $by) . " $order"; 34 34 sauver_requete($t, $r, $f); … … 41 41 ajax_retour($res); 42 42 } 43 44 ?>
Note: See TracChangeset
for help on using the changeset viewer.