projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e4aa5b
)
Fix undefined index.
author
Jan Schneider
<jan@horde.org>
Wed, 29 Jul 2009 07:22:05 +0000
(09:22 +0200)
committer
Jan Schneider
<jan@horde.org>
Wed, 29 Jul 2009 16:53:25 +0000
(18:53 +0200)
kronolith/lib/Block/summary.php
patch
|
blob
|
history
diff --git
a/kronolith/lib/Block/summary.php
b/kronolith/lib/Block/summary.php
index
ae0dc76
..
a0050e5
100644
(file)
--- a/
kronolith/lib/Block/summary.php
+++ b/
kronolith/lib/Block/summary.php
@@
-12,6
+12,14
@@
class Horde_Block_Kronolith_summary extends Horde_Block {
var $_app = 'kronolith';
+ function Horde_Block_Kronolith_summary($params = array(), $row = null, $col = null)
+ {
+ parent::Horde_Block($params, $row, $col);
+ if (!isset($this->_params['days'])) {
+ $this->_params['days'] = 7;
+ }
+ }
+
function _params()
{
@define('KRONOLITH_BASE', dirname(__FILE__) . '/../..');