Skip to content

Commit

Permalink
[libraries][installer] - ModuleAdapter cast to int
Browse files Browse the repository at this point in the history
  • Loading branch information
alikon committed Nov 9, 2018
1 parent d67e585 commit 1ea6ca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/src/Installer/Adapter/ModuleAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ public function uninstall($id)
$query = $db->getQuery(true)
->delete($db->quoteName('#__modules'))
->where($db->quoteName('module') . ' = ' . $db->quote($this->extension->element))
->where($db->quote('client_id') . ' = ' . $this->extension->client_id);
->where($db->quote('client_id') . ' = ' . (int) $this->extension->client_id);
$db->setQuery($query);

try
Expand Down

0 comments on commit 1ea6ca6

Please sign in to comment.