Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

adding nulls appropriately for talk_speaker status columns

  • Loading branch information...
commit e08f4817b914e3aaf1860138432ed730ae0e68d6 1 parent 83b312f
@lornajane lornajane authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  doc/dbgen/generator.class.php
View
2  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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.