1
0
mirror of synced 2025-03-12 23:59:05 +03:00

Fixed DDC-3740

The count must return an integer, not a string
This commit is contained in:
StoshSeb 2015-12-03 13:15:12 +01:00
parent 3c3b7364ba
commit da4a29c0e2

View File

@ -822,7 +822,7 @@ class BasicEntityPersister implements EntityPersister
? $this->expandCriteriaParameters($criteria) ? $this->expandCriteriaParameters($criteria)
: $this->expandParameters($criteria); : $this->expandParameters($criteria);
return $this->conn->executeQuery($sql, $params, $types)->fetchColumn(); return (int) $this->conn->executeQuery($sql, $params, $types)->fetchColumn();
} }
/** /**