]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-add_points.php
Fix for fatal error and naming convention applied
[mailer.git] / inc / modules / admin / what-add_points.php
index 442720021aac27d5c4bca25476b6e6a37fee5956..1329e0ec52f765c1568741202de1258da1a9a02d 100644 (file)
@@ -50,7 +50,7 @@ if (!REQUEST_ISSET_GET('uid')) REQUEST_SET_GET('uid', '');
 
 if (REQUEST_GET('uid') == "all") {
        // Add points to all accounts
-       if ((IS_FORM_SENT()) && (REQUEST_POST('points') > 0)) {
+       if ((isFormSent()) && (REQUEST_POST('points') > 0)) {
                // @TODO Rewrite this constant
                define('__POINTS_VALUE', REQUEST_POST('points'));
 
@@ -95,7 +95,7 @@ if (REQUEST_GET('uid') == "all") {
                list($sname, $fname, $email) = SQL_FETCHROW($result);
                SQL_FREERESULT($result);
 
-               if ((IS_FORM_SENT()) && (REQUEST_ISSET_POST(('points')))) {
+               if ((isFormSent()) && (REQUEST_ISSET_POST(('points')))) {
                        // Remove depth to prevent booking errors. This is a bad coding
                        // practice, thats also why we need to write this project from
                        // scratch...