Permalink
Browse files

Merge remote-tracking branch 'lornajane/talk-speaker-dbgen'

  • Loading branch information...
2 parents b1746aa + e08f481 commit 9c843b70a37ea5cede4d290bf079f4adcd180a75 @lornajane lornajane committed May 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 doc/dbgen/generator.class.php
@@ -216,7 +216,7 @@ protected function _generateTalks($count) {
$status = $this->_chance(TALK_SPEAKER_PENDING) ? "pending" : "";
if (! $first) echo ",\n";
- printf("(%d, '%s', NULL, %s, '%s')", $talk->id, $speaker_name, $speaker_id, $status);
+ printf("(%d, '%s', NULL, %s, %s)", $talk->id, $speaker_name, $speaker_id, $status ? "'pending'" : "null");
$first = false;
}

0 comments on commit 9c843b7

Please sign in to comment.