Fix array being written instead of username to lastmember.php
This commit is contained in:
parent
6c45e0e564
commit
ac2ff8925c
|
@ -135,7 +135,7 @@ if ($saved_chain != $chain_string) {
|
|||
fwrite($file, $contents);
|
||||
fclose($file);
|
||||
$file2 = fopen('lastmember.php', 'w');
|
||||
$contents = "<?php return '" . $chain[count($chain) - 1] . "'; ?>";
|
||||
$contents = "<?php return '" . $chain[count($chain) - 1]["username"] . "'; ?>";
|
||||
fwrite($file2, $contents);
|
||||
fclose($file2);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue