Fixed confirmation on ajax reloaded buttons (small fix for Gecko like browsers).
[fa-stable.git] / sales / includes / db / customers_db.inc
index 3a67e4edb895d29189e5307c8e526ff328066ca9..b1f834336da10aeeff204fed7f3ab3a1c44b3374 100644 (file)
@@ -155,8 +155,11 @@ function get_customer_contacts($customer_id, $action=null)
        $results = array();
        $res = get_crm_persons('customer', $action, $customer_id);
        while($contact = db_fetch($res))
+       {
+               if ($contact['lang'] == 'C') // Fix for improper lang in demo sql files.
+                       $contact['lang'] = '';
                $results[] = $contact;
-
+       }       
        return $results;
 }