}
// Check wether the user is allowed to book more URLs
-function SURFBAR_IF_USER_BOOK_MORE_URLS ($userid=0) {
+function SURFBAR_IF_USER_BOOK_MORE_URLS ($userid = 0) {
// Is this admin and userid is zero or does the user has some URLs left to book?
return ((($userid == 0) && (isAdmin())) || (SURFBAR_GET_TOTAL_USER_URLS($userid, '', array("REJECTED")) < getConfig('surfbar_max_order')));
}
// Get total amount of URLs of given status for current user
-function SURFBAR_GET_TOTAL_USER_URLS ($userid=0, $status = '',$exclude = '') {
+function SURFBAR_GET_TOTAL_USER_URLS ($userid = 0, $status = '',$exclude = '') {
// Is the user 0 and user is logged in?
if (($userid == 0) && (isMember())) {
// Then use this userid