Skip to content

Commit fbabd44

Browse files
committed
Fix variable
1 parent bbb6c4c commit fbabd44

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Examples/View.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
$Info = Array( );
1818
$Rules = Array( );
1919
$Players = Array( );
20+
$Exception = null;
2021

2122
try
2223
{
@@ -87,7 +88,7 @@
8788
</div>
8889

8990
<div class="container">
90-
<?php if( $Exception !== '' ): ?>
91+
<?php if( $Exception !== null ): ?>
9192
<div class="panel panel-error">
9293
<pre class="panel-body"><?php echo htmlspecialchars( $Exception->__toString( ) ); ?></pre>
9394
</div>

0 commit comments

Comments
 (0)