Skip to content

Commit

Permalink
Update administrator/components/com_redirect/Model/LinkModel.php
Browse files Browse the repository at this point in the history
Co-Authored-By: Quy <quy@fluxbb.org>
  • Loading branch information
alikon and Quy committed Jul 3, 2019
1 parent 047d1a8 commit e548754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion administrator/components/com_redirect/Model/LinkModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public function activate(&$pks, $url, $comment = null)
$query = $db->getQuery(true)
->update($db->quoteName('#__redirect_links'))
->set($db->quoteName('new_url') . ' = :url')
->set($db->quoteName('published') . ' = ' . (int) 1)
->set($db->quoteName('published') . ' = 1')
->set($db->quoteName('comment') . ' = :comment')
->whereIn($db->quoteName('id'), $pks)
->bind(':url', $url)
Expand Down

0 comments on commit e548754

Please sign in to comment.