mirror of
https://gitlab.com/ceda_ei/Zeeth-Naaw-Bot
synced 2025-03-12 16:26:52 +01:00
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…
x
Reference in New Issue
Block a user