bug fix #772
This commit is contained in:
parent
bcd67d4e02
commit
5267f1bf00
|
@ -165,7 +165,9 @@ function buildParentPages() {
|
|||
foreach ($pagesKey as $pageKey) {
|
||||
try {
|
||||
$page = new Page($pageKey);
|
||||
array_push($list, $page);
|
||||
if ($page->isParent()) {
|
||||
array_push($list, $page);
|
||||
}
|
||||
} catch (Exception $e) {
|
||||
// continue
|
||||
}
|
||||
|
|
|
@ -334,7 +334,9 @@ class Pages extends dbJSON {
|
|||
return false;
|
||||
}
|
||||
|
||||
// Returns a database with published pages keys
|
||||
// Returns a database with published pages
|
||||
// $onlyKeys = true; Returns only the pages keys
|
||||
// $onlyKeys = false; Returns part of the database, I do not recommend use this
|
||||
public function getPublishedDB($onlyKeys=true)
|
||||
{
|
||||
$tmp = $this->db;
|
||||
|
|
|
@ -7,6 +7,6 @@
|
|||
"visits": "Visitas",
|
||||
"visits-today": "Visitas de hoy",
|
||||
"unique-visitors-today": "Visitantes únicos de hoy",
|
||||
"chart": "Chart",
|
||||
"table": "Table"
|
||||
"chart": "Gráfico",
|
||||
"table": "Tabla"
|
||||
}
|
Loading…
Reference in New Issue