Permalink
Browse files

Fixed a bug that caused missing model values to fail insertion.

  • Loading branch information...
1 parent 0536b1b commit de6b8bb39cb61a3fd6f8418690c5ed4cd4800cf6 @kallaspriit committed Apr 16, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 Cassandra.php
View
@@ -2810,6 +2810,10 @@ public function createColumnsOrSuperColumns(
$results = array();
foreach ($columns as $columnName => $columnValue) {
+ if (!isset($columnValue)) {
+ continue;
+ }
+
$column = new cassandra_ColumnOrSuperColumn();
if (is_array($columnValue)) {

0 comments on commit de6b8bb

Please sign in to comment.