Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update views/describe_columnfamily.php

  • Loading branch information...
commit 7601b5a18c8585a15a23927f31c1397a1cbcf11e 1 parent f24cc63
FlashySearch authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 views/describe_columnfamily.php
View
5 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>
Please sign in to comment.
Something went wrong with that request. Please try again.