} elseif ((!EXT_IS_ACTIVE("order")) && (!IS_ADMIN())) {
ADD_FATAL(EXTENSION_PROBLEM_EXT_INACTIVE, "order");
return;
-} elseif (!IS_LOGGED_IN()) {
+} elseif (!IS_MEMBER()) {
// Sorry, no guest access!
$URL = URL."/modules.php?module=index";
} elseif (empty($_GET['order'])) {
array($type, bigintval($_GET['order']), $GLOBALS['userid']), __FILE__, __LINE__);
// Finally is the entry valid?
- if (SQL_AFFECTEDROWS($link) == 1) {
+ if (SQL_AFFECTEDROWS() == 1) {
// Update his login data
UPDATE_LOGIN_DATA();