1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-28 20:45:00 +03:00

Merge pull request #191 from venticello/patch-8

Fix comment delete by target.
This commit is contained in:
Mzhelskiy Maxim 2012-12-10 06:19:26 -08:00
commit ed3b86a3bd

View file

@ -674,6 +674,7 @@ class ModuleComment_MapperComment extends Mapper {
target_id IN (?a)
AND
target_type = ?
ORDER BY comment_id DESC
";
if ($this->oDb->query($sql,$aTargetId,$sTargetType)) {
return true;