Some global variables rewritten, a lot more language constants rewritten to getMessage()
[mailer.git] / inc / db / lib-mysql3.php
index 56ebf64d1bfda1e70f23b9227b92129171803a2c..d14764c0762ddd2fc27706eeb799dd0c328c0d99 100644 (file)
@@ -136,15 +136,12 @@ function SQL_AFFECTEDROWS() {
 }
 
 // SQL fetch row
-function SQL_FETCHROW($result) {
-       // Init data
-       $DATA = array();
-
+function SQL_FETCHROW ($result) {
        // Is a result resource set?
        if (!is_resource($result)) return false;
 
-       $DATA = mysql_fetch_row($result);
-       return $DATA;
+       // Fetch the data and return it
+       return mysql_fetch_row($result);
 }
 
 // SQL fetch array