Changeset 7907 in spip-zone


Ignore:
Timestamp:
Dec 13, 2006, 11:52:39 AM (12 years ago)
Author:
spipcarto@…
Message:

syndrome de la page blanche (pas la fonction _q)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_stable_/forms/forms_et_tables_1_9_1/forms_options.php

    r7905 r7907  
    88 * Cedric Morin
    99 * Renato
    10  * © 2005,2006 - Distribue sous licence GNU/GPL
     10 * 2005,2006 - Distribue sous licence GNU/GPL
    1111 *
    1212 */
     
    5555        if (preg_match(",".$GLOBALS['cookie_prefix']."cookie_form_([0-9]+),",$cookie)){
    5656                $idf = preg_replace(",".$GLOBALS['cookie_prefix']."cookie_form_([0-9]+),","\\1",$cookie);
    57                 $res = spip_query("SELECT id_article FROM spip_forms_articles WHERE id_form="._q($idf));
     57                $res = spip_query("SELECT id_article FROM spip_forms_articles WHERE id_form=".intval($idf));
    5858                while($row=spip_fetch_array($res)){
    5959                        $ida = $row['id_article'];
Note: See TracChangeset for help on using the changeset viewer.