Parcourir la source

Ticket #270 - Minor fixes

AntonLV il y a 10 ans
Parent
commit
345ff860e9
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      modules/boonex/timeline/classes/BxTimelineDb.php

+ 1 - 1
modules/boonex/timeline/classes/BxTimelineDb.php

@@ -241,7 +241,7 @@ class BxTimelineDb extends BxBaseModNotificationsDb
             $sWhereAddon = " AND `id`=:id";
         }
 
-        return $this->query("DELETE FROM `" . $this->_sPrefix . "links` WHERE `profile_id`=:profile_id" . $sWhereAddon);
+        return $this->query("DELETE FROM `" . $this->_sPrefix . "links` WHERE `profile_id`=:profile_id" . $sWhereAddon, $aBindings);
     }
 
     public function saveLink($iEventId, $iLinkId)