Procházet zdrojové kódy

Merge pull request #549 from butt/master

Added prefix s in the uniqid
Thomas před 13 roky
rodič
revize
2e3d20b126
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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);