diff --git a/classes/class_sphinxql.php b/classes/class_sphinxql.php index 74c296da..d27c6be7 100644 --- a/classes/class_sphinxql.php +++ b/classes/class_sphinxql.php @@ -270,7 +270,7 @@ public function where_match($Expr, $Field = '*', $Escape = true) { * @param string $Mode sort method to apply to the selected attribute * @return current SphinxQL query object */ - public function order_by($Attribute = false, $Mode) { + public function order_by($Attribute = false, $Mode = false) { if (empty($Attribute)) { $this->SortBy = array(); } else { @@ -303,7 +303,7 @@ public function group_by($Attribute = false) { * @param string $Mode sort method to apply to the selected attribute * @return current SphinxQL query object */ - public function order_group_by($Attribute = false, $Mode) { + public function order_group_by($Attribute = false, $Mode = false) { if (empty($Attribute)) { $this->SortGroupBy = ''; } else { diff --git a/classes/class_users.php b/classes/class_users.php index 93163e0b..f7834f50 100644 --- a/classes/class_users.php +++ b/classes/class_users.php @@ -202,6 +202,9 @@ public static function user_heavy_info($UserID) { } else { $HeavyInfo['CustomForums'] = null; } + if (isset($HeavyInfo['CustomForums'][''])) { + unset($HeavyInfo['CustomForums']['']); + } $HeavyInfo['SiteOptions'] = unserialize($HeavyInfo['SiteOptions']); if (!empty($HeavyInfo['SiteOptions'])) { diff --git a/classes/class_votes.php b/classes/class_votes.php index ef4e53c5..bc270b2e 100644 --- a/classes/class_votes.php +++ b/classes/class_votes.php @@ -9,14 +9,13 @@ class Votes { public static function vote_link($GroupID, $Vote = '') { global $LoggedUser; if (!$LoggedUser['NoVoteLinks'] && check_perms('site_album_votes')) { ?> - - ( Vote: + + Vote: x - ) (Revision #) [Vanity House] diff --git a/sections/collages/browse.php b/sections/collages/browse.php index 1d076ebc..c96ab594 100644 --- a/sections/collages/browse.php +++ b/sections/collages/browse.php @@ -221,7 +221,7 @@ diff --git a/sections/comments/torrentcomments.php b/sections/comments/torrentcomments.php index 51008903..94576f31 100644 --- a/sections/comments/torrentcomments.php +++ b/sections/comments/torrentcomments.php @@ -24,7 +24,7 @@ $Conditions = "WHERE tc.AuthorID = $UserID"; $Title = 'Comments made by '.($Self?'you':$Username); $Header = 'Torrent comments left by '.($Self?'you':Users::format_username($UserID, false, false, false)).''; - if($Self) $OtherLink = 'Display comments left on your uploads'; + if($Self) $OtherLink = 'Display comments left on your uploads'; } $Comments = $DB->query("SELECT diff --git a/sections/forums/forum.php b/sections/forums/forum.php index 56e7164d..75f42ad9 100644 --- a/sections/forums/forum.php +++ b/sections/forums/forum.php @@ -70,9 +70,9 @@

Forums >

diff --git a/sections/forums/thread.php b/sections/forums/thread.php index 81044e9e..066985d8 100644 --- a/sections/forums/thread.php +++ b/sections/forums/thread.php @@ -164,9 +164,9 @@