генерация ошибки showinf_pers();
This commit is contained in:
parent
cfa72bbc83
commit
52e130d5f7
2
inf.php
2
inf.php
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user