mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-02 22:45:02 +03:00
Merge pull request #191 from venticello/patch-8
Fix comment delete by target.
This commit is contained in:
commit
ed3b86a3bd
|
@ -674,6 +674,7 @@ class ModuleComment_MapperComment extends Mapper {
|
||||||
target_id IN (?a)
|
target_id IN (?a)
|
||||||
AND
|
AND
|
||||||
target_type = ?
|
target_type = ?
|
||||||
|
ORDER BY comment_id DESC
|
||||||
";
|
";
|
||||||
if ($this->oDb->query($sql,$aTargetId,$sTargetType)) {
|
if ($this->oDb->query($sql,$aTargetId,$sTargetType)) {
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue