mirror of
https://github.com/slawkens/myaac.git
synced 2025-06-14 16:54:29 +02:00
This is always true
This commit is contained in:
parent
19346efc38
commit
8ec08b5a61
@ -85,7 +85,7 @@ else if (isset($_REQUEST['search'])) {
|
|||||||
$account = new OTS_Account();
|
$account = new OTS_Account();
|
||||||
$account->load($id);
|
$account->load($id);
|
||||||
|
|
||||||
if (isset($account, $_POST['save']) && $account->isLoaded()) {
|
if (isset($_POST['save']) && $account->isLoaded()) {
|
||||||
$error = false;
|
$error = false;
|
||||||
|
|
||||||
$_error = '';
|
$_error = '';
|
||||||
|
@ -78,7 +78,7 @@ else if (isset($_REQUEST['search'])) {
|
|||||||
$player = new OTS_Player();
|
$player = new OTS_Player();
|
||||||
$player->load($id);
|
$player->load($id);
|
||||||
|
|
||||||
if (isset($player) && $player->isLoaded() && isset($_POST['save'])) {// we want to save
|
if ($player->isLoaded() && isset($_POST['save'])) {// we want to save
|
||||||
$error = false;
|
$error = false;
|
||||||
|
|
||||||
if ($player->isOnline())
|
if ($player->isOnline())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user