Empty commit

This commit is contained in:
Git 2012-08-20 08:00:13 +00:00
parent cc32775f24
commit 2310093877
3 changed files with 4 additions and 2 deletions

View File

@ -38,7 +38,7 @@
$Matched = 0;
$Suggestions = array();
$Snatches = array();
$Links = array();
$ArtistIDs = array();
foreach ($AutoSuggest as $Suggestion) {
list($ID,$Name, $Snatch) = $Suggestion;
if (stripos($Name,$FullName) === 0) {

View File

@ -1023,7 +1023,9 @@ function next_hour() {
if($BiWeek == 8) {
$DB->query("TRUNCATE TABLE top_snatchers;");
$DB->query("INSERT INTO top_snatchers (UserID) SELECT uid FROM xbt_snatched GROUP BY uid ORDER BY COUNT(uid) DESC LIMIT 100;");
}
}

View File

@ -33,7 +33,7 @@
}
$Article = $Alias->article($ArticleID);
list($Revision, $Title, $Body, $Read, $Edit, $Date, $AuthorID, $AuthorName, $Aliases, $UserIDs) = array_shift($Article);
if($Read > $LoggedUser['EffectiveClass']){ error(404); }
if($Read > $LoggedUser['EffectiveClass']){ error('You must be a higher user class to view this wiki article'); }
show_header($Title,'wiki,bbcode');
?>