diff options
author | heper <heper@users.noreply.github.com> | 2015-12-05 02:06:31 +0100 |
---|---|---|
committer | heper <heper@users.noreply.github.com> | 2015-12-05 02:06:31 +0100 |
commit | 62cdbf62e52c5338e0b0ea0b3c34320ce6996136 (patch) | |
tree | 7feedb64d475f1f48acebec6748532a0b94946e0 /src | |
parent | 0a0447de46ba730c3d7d55b450cec560cd94c00a (diff) | |
download | pfsense-62cdbf62e52c5338e0b0ea0b3c34320ce6996136.zip pfsense-62cdbf62e52c5338e0b0ea0b3c34320ce6996136.tar.gz |
problem with $only_edit
Diffstat (limited to 'src')
-rw-r--r-- | src/usr/local/www/pkg_edit.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/usr/local/www/pkg_edit.php b/src/usr/local/www/pkg_edit.php index c00f929..88b6148 100644 --- a/src/usr/local/www/pkg_edit.php +++ b/src/usr/local/www/pkg_edit.php @@ -517,8 +517,11 @@ function parse_package_templates() { //breadcrumb if ($pkg['title'] != "") { - $edit = ($only_edit ? '' : " / " . gettext("Edit")); - $pgtitle = array($pkg['title'], $edit); + if(!$only_edit) { + $pgtitle = array($pkg['title'], gettext("Edit")); + } else { + $pgtitle = array($pkg['title']); + } } else { $pgtitle = array(gettext("Package Editor")); } |