Small correction to last cleanups.
[fa-stable.git] / gl / includes / db / gl_db_rates.inc
index 9a64fcfa9e698d600466ecac6623e90b25891ae0..4b9cd40eef9c82cb6a74f1a49a241f30234d8620 100644 (file)
@@ -49,7 +49,7 @@ function get_last_exchange_rate($curr_code, $date_)
        if (db_num_rows($result) == 0)
                return false;
 
-       return db_fetch_row($result);
+       return db_fetch_assoc($result);
 }
 
 //---------------------------------------------------------------------------------------------