Skip to content

Commit

Permalink
minor fixes to prior commit
Browse files Browse the repository at this point in the history
  • Loading branch information
bradymiller committed Jul 25, 2015
1 parent fde3cea commit 9ffb4c8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions library/ESign/Form/Signable.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,11 @@ public function getData()
// Get form-specific data
$statement = "SELECT * FROM ".escape_table_name( $table )." ";
if( $this->_formDir == 'procedure_order' ) {
$statement .= "WHERE procedure_order_id = ? LIMIT 1";}
else
$statement .= "WHERE id = ? LIMIT 1";
$statement .= "WHERE procedure_order_id = ? LIMIT 1";
}
else {
$statement .= "WHERE id = ? LIMIT 1";
}
$formRow = sqlQuery( $statement, array( $row['form_id']) );

return $formRow;
Expand Down

0 comments on commit 9ffb4c8

Please sign in to comment.