Skip to content

Commit

Permalink
Fix table
Browse files Browse the repository at this point in the history
  • Loading branch information
chmst committed Aug 12, 2018
1 parent 195851b commit 124473e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion administrator/components/com_workflow/Table/StageTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function delete($pk = null)
{
$query = $db->getQuery(true)
->delete($db->quoteName('#__workflow_transitions'))
->where($db->quoteName('to_stage') . ' = ' . (int) $pk, 'OR')
->where($db->quoteName('to_stage_id') . ' = ' . (int) $pk, 'OR')
->where($db->quoteName('from_stage_id') . ' = ' . (int) $pk);

$db->setQuery($query)->execute();
Expand Down

0 comments on commit 124473e

Please sign in to comment.