Skip to content

Commit

Permalink
Fix WCF 2.1 compatibility of RoomEditor::deleteAll()
Browse files Browse the repository at this point in the history
  • Loading branch information
TimWolla committed Apr 1, 2015
1 parent eec725e commit 689177a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion file/lib/data/room/RoomEditor.class.php
Expand Up @@ -47,7 +47,9 @@ public static function deleteAll(array $objectIDs = array()) {

foreach ($objectIDs as $objectID) {
$select->execute(array($objectID));
$update->execute(array($select->fetchColumn()));
$showOrder = $select->fetchColumn();
$select->closeCursor();
$update->execute(array($showOrder));
}

$return = parent::deleteAll($objectIDs);
Expand Down

0 comments on commit 689177a

Please sign in to comment.