diff --git a/inc/WritableCollection.php b/inc/WritableCollection.php index 4c5f6efa..f3589527 100644 --- a/inc/WritableCollection.php +++ b/inc/WritableCollection.php @@ -451,7 +451,8 @@ EOSQL; $params = array( ':collection_id' => $this->collection_id() ); if ( $some_old_token == 0 || empty($some_old_token) ) { $sql = <<Exec() && $qry->rows() ) { + if ( $qry->Exec('WritableCollection') && $qry->rows() ) { while( $change = $qry->Fetch() ) { $changes[$change->uid] = $change; }