projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca280d3
)
Avoid notice if no changelog exists yet.
author
Jan Schneider
<jan@horde.org>
Thu, 6 Jan 2011 15:47:59 +0000
(16:47 +0100)
committer
Jan Schneider
<jan@horde.org>
Thu, 6 Jan 2011 15:47:59 +0000
(16:47 +0100)
components/lib/Components/Pear/Package/Contents.php
patch
|
blob
|
history
diff --git
a/components/lib/Components/Pear/Package/Contents.php
b/components/lib/Components/Pear/Package/Contents.php
index
9131a63
..
8e4b669
100644
(file)
--- a/
components/lib/Components/Pear/Package/Contents.php
+++ b/
components/lib/Components/Pear/Package/Contents.php
@@
-115,7
+115,7
@@
class Components_Pear_Package_Contents
$this->_tasks->annotate($this->getPackage(), $taskfiles);
// Workaround for [#9364] Components notices and fatal error
- if (
$this->getPackage()->_packageInfo['changelog'] == ''
) {
+ if (
empty($this->getPackage()->_packageInfo['changelog'])
) {
unset($this->getPackage()->_packageInfo['changelog']);
}
$this->_filelist_factory->create($this->getPackage())->update();