Explorar o código

Schema process get table name from db

Piotr Labudda %!s(int64=11) %!d(string=hai) anos
pai
achega
c435d1775d
Modificáronse 2 ficheiros con 4 adicións e 4 borrados
  1. 1 1
      SE/VERSION
  2. 3 3
      SE/se-lib/UserAcl.php

+ 1 - 1
SE/VERSION

@@ -1 +1 @@
-3.9.10-3
+3.9.10-4

+ 3 - 3
SE/se-lib/UserAcl.php

@@ -798,9 +798,9 @@ echo'<pre style="max-height:200px;overflow:auto;border:1px solid red;text-align:
 							if (!array_key_exists($zasobTblInfo->ID, $foundTbls)) {
 								$tblAcl = new TableAcl($zasobTblInfo->ID);
 								$tblAcl->setDB($zasobTblInfo->P__ID);
-								$tblAcl->setName($table->getName());
-								$tblAcl->setLabel($table->getLabel());
-								$tblAcl->setOpis($table->getDescription());
+								$tblAcl->setName($zasobTblInfo->DESC);// $table->getName()
+								$tblAcl->setLabel($zasobTblInfo->DESC_PL);// $table->getLabel()
+								$tblAcl->setOpis($zasobTblInfo->OPIS);// $table->getDescription()
 								$foundTbls[$zasobTblInfo->ID] = $tblAcl;
 							}