Permalink
Browse files

Add safety in case of custom schemas

  • Loading branch information...
flack committed Jun 11, 2018
1 parent 3949a0b commit 15880252135ba787cffd25bf77579e3c86d350d9
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/midcom/admin/folder/handler/edit.php
@@ -127,7 +127,7 @@ public function save_callback()
private function _update_topic($prefix, $old_name)
{
if ($this->_controller->get_form_values()['style'] == '__create') {
if (isset($this->_controller->get_form_values()['style']) && $this->_controller->get_form_values()['style'] == '__create') {
$this->edit_topic->style = $this->_create_style($this->edit_topic->name);
// Failed to create the new style template

0 comments on commit 1588025

Please sign in to comment.