Commit decf72d2 authored by thejoelinux's avatar thejoelinux

correction listes non fonctionnelles avec un seul élément

parent 0ad5c747
......@@ -19,7 +19,7 @@ class Membership_Type extends Record {
$sql = "SELECT id, name, description, price
FROM membership_types
ORDER BY name";
$GLOBALS["data"]->select($sql, $membership_types, "Membership_Type");
$GLOBALS["data"]->select($sql, $membership_types, "Membership_Type", 1);
return sizeof($membership_types);
}
......
......@@ -17,7 +17,7 @@ class Payment_Method extends Record {
$sql = "SELECT id, name, description
FROM payment_methods
ORDER BY name";
$GLOBALS["data"]->select($sql, $payment_methods, "Payment_Method");
$GLOBALS["data"]->select($sql, $payment_methods, "Payment_Method", 1);
return sizeof($payment_methods);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment