Renamed function, used more "pool functions":
[mailer.git] / inc / modules / admin / what-send_coupon.php
index 5d8ec24a8254d25303bb63603161de92747f47bd..90c6ce402372772461a2628eba497892b70cf430 100644 (file)
@@ -82,7 +82,7 @@ ORDER BY
                        );
 
                        // Get the insert id from the table
-                       $couponId = SQL_INSERTID();
+                       $couponId = SQL_INSERT_ID();
 
                        // Init userid array
                        $adminUserids = array();