Skip to content

Commit

Permalink
use strict equality when inserting nulls as ""
Browse files Browse the repository at this point in the history
  • Loading branch information
hoan committed Jun 16, 2010
1 parent 22a1db0 commit e42f46d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpcassa.php
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ public function array_to_columns($array, $timestamp=null) {
}

public function to_column_value($thing) {
if($thing == null) return "";
if($thing === null) return "";

return $thing;
}
Expand Down

0 comments on commit e42f46d

Please sign in to comment.