Ver Fonte

Merge pull request #549 from butt/master

Added prefix s in the uniqid
Thomas há 13 anos atrás
pai
commit
2e3d20b126
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      Admin/Admin.php

+ 1 - 1
Admin/Admin.php

@@ -482,7 +482,7 @@ abstract class Admin implements AdminInterface, DomainObjectInterface
      */
     public function initialize()
     {
-        $this->uniqid = uniqid();
+        $this->uniqid = "s".uniqid();
 
         if (!$this->classnameLabel) {
             $this->classnameLabel = substr($this->getClass(), strrpos($this->getClass(), '\\') + 1);