diff --git a/module/VuFind/src/VuFind/Cover/Generator.php b/module/VuFind/src/VuFind/Cover/Generator.php index a394af40538f669d3105ba220d58f30beb231b0a..262184861720893f02e3a963d38f996ca9686a3a 100644 --- a/module/VuFind/src/VuFind/Cover/Generator.php +++ b/module/VuFind/src/VuFind/Cover/Generator.php @@ -175,7 +175,7 @@ class Generator protected function createPattern($seed) { // Convert to binary - $bc = decbin((int)$seed%pow(2,32)); + $bc = decbin($seed); // If we have less that a half of a quarter if(strlen($bc) < 8) { // Rotate square of the first 4 into a 4x2