Permalink
Browse files

Update views/describe_columnfamily.php

  • Loading branch information...
1 parent f24cc63 commit 7601b5a18c8585a15a23927f31c1397a1cbcf11e FlashySearch committed Dec 27, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 views/describe_columnfamily.php
@@ -23,7 +23,7 @@
<div class="well">
<?php
-if ($_GET['view'] == 'details' and !$is_read_only_keyspace):
+if (isset($_GET['view']) && $_GET['view'] == 'details' and !$is_read_only_keyspace):
?>
<a href="columnfamily_action.php?action=edit&amp;keyspace_name=<?php echo $keyspace_name; ?>&amp;columnfamily_name=<?php echo $columnfamily_name; ?>" class="btn btn-large btn-primary" style="color: #fff; text-decoration: none;">Edit Column Family</a>
@@ -65,10 +65,9 @@
'columnfamily_name' => $columnfamily_name));
endforeach;
?>
-<?php endif; ?>
-
<?php
endif;
+endif;
?>
</div>

0 comments on commit 7601b5a

Please sign in to comment.