git: 09a165c50c72 - main - devel/pear-Horde_Core: fix error messages
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 15 Nov 2022 21:25:27 UTC
The branch main has been updated by thierry:
URL: https://cgit.FreeBSD.org/ports/commit/?id=09a165c50c726d59ea263c52be3338c074fd01a9
commit 09a165c50c726d59ea263c52be3338c074fd01a9
Author: Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2022-11-01 20:57:34 +0000
Commit: Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2022-11-15 21:22:34 +0000
devel/pear-Horde_Core: fix error messages
Patch submitted by wahnes (at) uni-koeln (dot) de.
PR: 267508
Approved by: maintainer’s time-out
Obtained from: https://bugs.horde.org/ticket/15093
---
devel/pear-Horde_Core/Makefile | 1 +
.../pear-Horde_Core/files/patch-lib_Horde_Themes_Element.php | 11 +++++++++++
2 files changed, 12 insertions(+)
diff --git a/devel/pear-Horde_Core/Makefile b/devel/pear-Horde_Core/Makefile
index fa7519349b3f..1ab59677b3e7 100644
--- a/devel/pear-Horde_Core/Makefile
+++ b/devel/pear-Horde_Core/Makefile
@@ -1,5 +1,6 @@
PORTNAME= Horde_Core
DISTVERSION= 2.31.16
+PORTREVISION= 1
CATEGORIES= devel www pear
MAINTAINER= horde@FreeBSD.org
diff --git a/devel/pear-Horde_Core/files/patch-lib_Horde_Themes_Element.php b/devel/pear-Horde_Core/files/patch-lib_Horde_Themes_Element.php
new file mode 100644
index 000000000000..93c45741b580
--- /dev/null
+++ b/devel/pear-Horde_Core/files/patch-lib_Horde_Themes_Element.php
@@ -0,0 +1,11 @@
+--- lib/Horde/Themes/Element.php.orig 2020-09-06 03:24:25 UTC
++++ lib/Horde/Themes/Element.php
+@@ -143,7 +143,7 @@ class Horde_Themes_Element
+ switch ($name) {
+ case 'fs':
+ case 'uri':
+- return $this->_data[$name];
++ return (isset($this->_data[$name])) ? $this->_data[$name] : null;
+
+ case 'fulluri':
+ return Horde::url($this->_data['uri'], true);