Changeset 103225 in spip-zone for _plugins_/getID3


Ignore:
Timestamp:
Mar 10, 2017, 10:11:43 PM (2 years ago)
Author:
kent1@…
Message:

intval et non sql_quote ici

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/getID3/trunk/getid3_pipelines.php

    r98050 r103225  
    3333                        $conf_id3 = lire_config('getid3/reecriture_tags', array());
    3434                        $files = array();
    35                         $document = sql_fetsel('mode,fichier', 'spip_documents', 'id_document='.sql_quote($id_document));
     35                        $document = sql_fetsel('mode,fichier', 'spip_documents', 'id_document='.intval($id_document));
    3636                        if ($flux['args']['operation'] == 'ajouter_document') {
    3737                                $getid3_done = true;
Note: See TracChangeset for help on using the changeset viewer.