Permalink
Browse files

Clan: initialize clan_name as null so the variable always exists.

  • Loading branch information...
1 parent 53c214f commit c135d4c05895f1fb3e175a880bf3d0299972d889 @tchalvak tchalvak committed Sep 19, 2013
Showing with 3 additions and 1 deletion.
  1. +1 −0 deploy/www/clan.php
  2. +2 −1 deploy/www/main.php
View
@@ -264,6 +264,7 @@
} // End of not-a member code
} // End of logged-in code
+$clan_name = null;
if ($command == 'view') {
// *** A view of the member list of any clan ***
$clan = get_clan($clan_id_viewed);
View
@@ -7,5 +7,6 @@
$page = 'main';
$pages = array('main'=>array('title'=>'Start Playing Ninjawars', 'template'=>'main.tpl'));
+$vars=array('user_id'=>self_char_id(), 'show_faqs'=>$show_faqs);
-display_static_page($page, $pages, $vars=array('user_id'=>self_char_id(), 'show_faqs'=>$show_faqs), $options=array());
+display_static_page($page, $pages, $vars, $options=array());

0 comments on commit c135d4c

Please sign in to comment.