diff --git a/include/Page/Edit.php b/include/Page/Edit.php index 4f15c27..b5abd3f 100644 --- a/include/Page/Edit.php +++ b/include/Page/Edit.php @@ -212,7 +212,7 @@ class Edit extends \gp\Page{ $option_links[] = \gp\tool::Link( 'Admin/Permissions', $langmessage['permissions'], - 'index=' . urlencode($this->gp_index), + 'index=' . urlencode($this->gp_index ? $this->gp_index : 0), [ 'title' => $langmessage['permissions'], 'class' => 'admin-link admin-link-permissions', diff --git a/include/special/ContactGadget.php b/include/special/ContactGadget.php index 78203c8..07b8053 100644 --- a/include/special/ContactGadget.php +++ b/include/special/ContactGadget.php @@ -184,33 +184,33 @@ class ContactGadget extends \gp\special\Base{ echo ''; echo \gp\tool\Output::ReturnText('your_name'); echo ''; - echo ''; echo ''; echo ''; echo ''; @@ -222,7 +222,7 @@ class ContactGadget extends \gp\special\Base{ $required_attr = ' required="required"'; } echo ''; - echo '';