Fix variable

pull/149/head
Pavel Djundik 4 years ago
parent bbb6c4c23e
commit fbabd440da

@ -17,6 +17,7 @@
$Info = Array( ); $Info = Array( );
$Rules = Array( ); $Rules = Array( );
$Players = Array( ); $Players = Array( );
$Exception = null;
try try
{ {
@ -87,7 +88,7 @@
</div> </div>
<div class="container"> <div class="container">
<?php if( $Exception !== '' ): ?> <?php if( $Exception !== null ): ?>
<div class="panel panel-error"> <div class="panel panel-error">
<pre class="panel-body"><?php echo htmlspecialchars( $Exception->__toString( ) ); ?></pre> <pre class="panel-body"><?php echo htmlspecialchars( $Exception->__toString( ) ); ?></pre>
</div> </div>

Loading…
Cancel
Save