генерация ошибки showinf_pers();

This commit is contained in:
lopar 2020-07-04 13:55:13 +03:00
parent cfa72bbc83
commit 52e130d5f7

View File

@ -53,7 +53,7 @@ if (empty($user->id)): ?>
<tr>
<td style="width: 250px; vertical-align: top;">
<?php
try {echo showinf_pers($user['id']);} catch (Exception $e) {echo "<div class='private'>Ошибка генератора персонажа showinf_pers(): {$e}</div>";}
try {echo showinf_pers($user->id);} catch (Exception $e) {echo "<div class='private'>Ошибка генератора персонажа showinf_pers(): {$e}</div>";}
if (!empty($user->married)): ?>
<a href="inf.php?<?= $user->married ?>" target=_blank>
<img alt="В браке с <?= $user->married ?>" src="i/married.gif"