mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
Hotfixes
+Fixed a bug that didn't permit to send the welcome message (I hate global variables...)
This commit is contained in:
@@ -265,7 +265,8 @@ class Account {
|
||||
}
|
||||
|
||||
function generateBase($kid, $uid, $username) {
|
||||
global $database, $message;
|
||||
global $database;
|
||||
$message = new Message();
|
||||
|
||||
if($kid == 0) $kid = rand(1,4);
|
||||
else $kid = $_POST['kid'];
|
||||
|
||||
Reference in New Issue
Block a user