Fix for #551 (visibility toggle on new page not working)

This commit is contained in:
Andy Miller
2016-05-03 10:35:11 -06:00
parent 53673e7d5d
commit a4b50437fd
2 changed files with 4 additions and 0 deletions

View File

@@ -8,6 +8,7 @@
* Tweaked placeholders color in login/new user panels [#542](https://github.com/getgrav/grav-plugin-admin/issues/542)
1. [](#bugfix)
* Fix for showing empty drop-down with only one supported language [#522](https://github.com/getgrav/grav-plugin-admin/issues/522)
* Fix for visibility toggle on new page not working [#551](https://github.com/getgrav/grav-plugin-admin/issues/551)
# v1.1.0-beta.2
## 04/27/2016

View File

@@ -767,6 +767,9 @@ class Admin
}
}
}
if ($data['visible'] == 1 && !$page->order()) {
$header['visible'] = $data['visible'];
}
}