X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Fsurfbar_functions.php;h=1856892d13dfa5b760c19b3081b2a3ecaa05f9f2;hp=d1844cf2ae1acbaef19c51b5e41d94198c949da1;hb=d3c4fdd9bfab35389e1a5ff48f3952d527c7b4bb;hpb=b0693e1b6ee1f65dcb09dae6960dc3abe35c75e4 diff --git a/inc/libs/surfbar_functions.php b/inc/libs/surfbar_functions.php index d1844cf2ae..1856892d13 100644 --- a/inc/libs/surfbar_functions.php +++ b/inc/libs/surfbar_functions.php @@ -103,7 +103,7 @@ function SURFBAR_ADMIN_MIGRATE_URL ($url, $userid) { function SURFBAR_ADMIN_UNLOCK_URL_IDS ($IDs) { // Is this an admin or invalid array? if (!isAdmin()) { - // Not admin or invalid IDs array + // Not admin or invalid ids array return false; } elseif (!is_array($IDs)) { // No array @@ -130,7 +130,7 @@ function SURFBAR_ADMIN_UNLOCK_URL_IDS ($IDs) { function SURFBAR_ADMIN_REJECT_URL_IDS ($IDs) { // Is this an admin or invalid array? if (!isAdmin()) { - // Not admin or invalid IDs array + // Not admin or invalid ids array return false; } elseif (!is_array($IDs)) { // No array @@ -227,7 +227,7 @@ function SURFBAR_MEMBER_DO_FORM ($formData, $URLs) { // Important form elements are missing! return false; } elseif (!isset($URLs[$formData['id']])) { - // ID not found in cache + // id not found in cache return false; } elseif (!SURFBAR_VALIDATE_MEMBER_ACTION_STATUS($formData['action'], $URLs[$formData['id']]['status'])) { // Action not allowed for current URL status @@ -611,7 +611,7 @@ function SURFBAR_REGISTER_URL ($url, $userid, $status = 'PENDING', $addMode = 'r // Insert the URL into database $content['insert_id'] = SURFBAR_INSERT_URL_BY_ARRAY($content); - // Is this ID valid? + // Is this id valid? if ($content['insert_id'] == 0) { // INSERT did not insert any data! return false; @@ -1411,7 +1411,7 @@ ORDER BY // Debug message //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'ADD - lid='.$content['id'].',url='.$content['url_id'].',last='.$content['last_surfed'].'', false); - // Add this ID + // Add this id $IDs[$content['url_id']] = $content['last_surfed']; $USE[$content['url_id']] = $content['id']; } // END - if @@ -1530,7 +1530,7 @@ function SURFBAR_DETERMINE_NEXT_ID ($urlId = 0) { $nextId = 0; $randNum = 0; - // Is the ID set? + // Is the id set? if ($urlId == 0) { // Get array with lock ids $USE = SURFBAR_GET_LOCK_IDS();