Notice: Trying to get property 'money' of non-object

This commit is contained in:
Igor Barkov (iwork) 2020-07-21 12:50:49 +03:00
parent 4ef0571f5d
commit 60aefbabe3

View File

@ -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>