mirror of
https://gitlab.com/ceda_ei/Zeeth-Naaw-Bot
synced 2025-05-09 21:56:53 +02: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);
|
fwrite($file, $contents);
|
||||||
fclose($file);
|
fclose($file);
|
||||||
$file2 = fopen('lastmember.php', 'w');
|
$file2 = fopen('lastmember.php', 'w');
|
||||||
$contents = "<?php return '" . $chain[count($chain) - 1] . "'; ?>";
|
$contents = "<?php return '" . $chain[count($chain) - 1]["username"] . "'; ?>";
|
||||||
fwrite($file2, $contents);
|
fwrite($file2, $contents);
|
||||||
fclose($file2);
|
fclose($file2);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user