генерация ошибки showinf_pers();
This commit is contained in:
parent
c6316820a0
commit
cfa72bbc83
3
inf.php
3
inf.php
@ -52,7 +52,8 @@ if (empty($user->id)): ?>
|
|||||||
<table width=100%>
|
<table width=100%>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="width: 250px; vertical-align: top;">
|
<td style="width: 250px; vertical-align: top;">
|
||||||
<?php echo showinf_pers($user['id']);
|
<?php
|
||||||
|
try {echo showinf_pers($user['id']);} catch (Exception $e) {echo "<div class='private'>Ошибка генератора персонажа showinf_pers(): {$e}</div>";}
|
||||||
if (!empty($user->married)): ?>
|
if (!empty($user->married)): ?>
|
||||||
<a href="inf.php?<?= $user->married ?>" target=_blank>
|
<a href="inf.php?<?= $user->married ?>" target=_blank>
|
||||||
<img alt="В браке с <?= $user->married ?>" src="i/married.gif"
|
<img alt="В браке с <?= $user->married ?>" src="i/married.gif"
|
||||||
|
Loading…
Reference in New Issue
Block a user