Forráskód Böngészése

set the first letter "s" in the uniqid

butt 13 éve
szülő
commit
62dead2e3b
1 módosított fájl, 1 hozzáadás és 1 törlés
  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);