Fix empty SQL error when editing transcripts.
darkmorford -
ffd74ed9508d
Not Reviewed
Show More
Add another comment
TODOs: 0 unresolved 0 Resolved
COMMENTS: 0 General 0 Inline
@@ -65,7 +65,7 function savetranscript( &$strip ) {
65 65 $dbConnection->executeUpdate('DELETE FROM transcript WHERE transcript.strip = ?', array($strip->id));
66 66
67 67 if( $strip->transcript_posted ) {
68 $inserter = 'INSERT INTO transcript (strip, panel, line, speaker, speech, search) VALUES (?, ?, ?, ?, ?, ?)';
68 $insert_sql = 'INSERT INTO transcript (strip, panel, line, speaker, speech, search) VALUES (?, ?, ?, ?, ?, ?)';
69 69 $inserter_types = array(PDO::PARAM_INT, PDO::PARAM_INT, PDO::PARAM_INT, PDO::PARAM_STR, PDO::PARAM_STR, PDO::PARAM_STR);
70 70
71 71 if(strpos($strip->transcript_posted, 'Panel <$n>') !== FALSE) {
Comments 0
You need to be logged in to leave comments. Login now