Changeset 89164 in spip-zone


Ignore:
Timestamp:
May 8, 2015, 6:45:16 PM (4 years ago)
Author:
cedric@…
Message:

Report de r89158 : Fix https://core.spip.net/issues/3412 : il faut utiliser sql_get_select() pour beneficier de la traduction des noms de table

Location:
_core_/plugins/textwheel
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • _core_/plugins/textwheel

  • _core_/plugins/textwheel/inc/lien.php

    r88959 r89164  
    608608                $type == 'document'
    609609                and $mime = sql_getfetsel('mime_type', 'spip_types_documents',
    610                         "extension IN (SELECT extension FROM spip_documents where id_document =".intval($id).")",
     610                        "extension IN (".sql_get_select("extension","spip_documents","id_document=".sql_quote($id)).")",
    611611                        '','','','',$connect)
    612612        ) {
  • _core_/plugins/textwheel/paquet.xml

    r87163 r89164  
    22        prefix="tw"
    33        categorie="edition"
    4         version="1.3.2"
     4        version="1.3.3"
    55        etat="stable"
    66        compatibilite="[3.0.0;3.1.*]"
Note: See TracChangeset for help on using the changeset viewer.