Notice: Trying to get property 'money' of non-object
This commit is contained in:
parent
4ef0571f5d
commit
60aefbabe3
2
main.php
2
main.php
@ -914,7 +914,7 @@ if (input::get('edit')) {
|
||||
<tr>
|
||||
<td style="text-align: center">
|
||||
<table BORDER=0 WIDTH=100% CELLSPACING="1" CELLPADDING="2" BGCOLOR="#A5A5A5">
|
||||
<?php if ($user->money): ?>
|
||||
<?php if ($showUser->money): ?>
|
||||
<tr style="background-color: #c7c7c7">
|
||||
<td style="text-align: center; width: 100px;"><img src="i/sh/money-bag.png">
|
||||
<td valign="top">Мешок денег (Масса: 0)<br><b><?= $user['money'] ?> кр.</b>
|
||||
|
Loading…
Reference in New Issue
Block a user