Permalink
Browse files

You can save values like 0 now.

Issue #20 #20
  • Loading branch information...
1 parent 9334654 commit 3815f11a276e115c5fb522269d7096d7ed9c73d1 FlashySearch committed Dec 26, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 columnfamily_action.php
View
4 columnfamily_action.php
@@ -550,7 +550,7 @@
$column_name = $_POST['column_name_'.$no_scf.'_'.$no_column];
$column_value = $_POST['column_value_'.$no_scf.'_'.$no_column];
- if (!empty($_POST['column_name_'.$no_scf.'_'.$no_column]) && !empty($_POST['column_value_'.$no_scf.'_'.$no_column])) {
+ if ($_POST['column_name_'.$no_scf.'_'.$no_column] != '' && $_POST['column_value_'.$no_scf.'_'.$no_column] != '') {
// CF
if ($column_key_name == '') {
$data[$column_name] = $column_value;
@@ -1034,4 +1034,4 @@
}
echo getHTML('footer.php');
-?>
+?>

0 comments on commit 3815f11

Please sign in to comment.