mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-10 21:31:01 +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) {
|
function generateBase($kid, $uid, $username) {
|
||||||
global $database, $message;
|
global $database;
|
||||||
|
$message = new Message();
|
||||||
|
|
||||||
if($kid == 0) $kid = rand(1,4);
|
if($kid == 0) $kid = rand(1,4);
|
||||||
else $kid = $_POST['kid'];
|
else $kid = $_POST['kid'];
|
||||||
|
|||||||
Reference in New Issue
Block a user