projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
988e1ce
)
Fixes a bug when automatically loading semester dates.
author
Martin Blumenthal
<tinu@humbapa.ch>
Mon, 29 Jun 2009 14:39:33 +0000
(16:39 +0200)
committer
Martin Blumenthal
<tinu@humbapa.ch>
Mon, 29 Jun 2009 14:39:33 +0000
(16:39 +0200)
skoli/lib/School.php
patch
|
blob
|
history
diff --git
a/skoli/lib/School.php
b/skoli/lib/School.php
index
d72d83e
..
513b1a5
100644
(file)
--- a/
skoli/lib/School.php
+++ b/
skoli/lib/School.php
@@
-63,7
+63,8
@@
class Skoli_School {
break;
}
}
- if (isset($activesemester[$property]) && !is_array($form->_vars->get($property))) {
+ $datevars = $form->_vars->get($property);
+ if (isset($activesemester[$property]) && empty($datevars['day'])) {
require_once 'Horde/Date.php';
if ($property == 'start') {
$startdate = 0;