Only uses autoload to require validation classes.
[platal.git] / templates / payment / index.tpl
index 9f0bad6..6c06d63 100644 (file)
@@ -113,7 +113,7 @@ function payment_submit(form)
         <strong>{$pay->text}</strong><input type="hidden" name="ref" value="{$pay->id}" />
         {else}
         <select name="ref" onchange="payment_submit(this.form)">
-          {select_db_table table="`$prefix`paiements" valeur=$pay->id
+          {select_db_table table="payments" valeur=$pay->id
                            where="WHERE FIND_IN_SET(\'old\',t.flags)=0"
                            join="LEFT JOIN groups AS g ON (t.asso_id = g.id)" group="g.nom"}
         </select>