summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dc00541)
raw | patch | inline | side by side (parent: dc00541)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 28 Aug 2009 09:13:46 +0000 (09:13 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 28 Aug 2009 09:13:46 +0000 (09:13 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14154 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_listingSortIterator.inc | patch | blob | history |
diff --git a/gosa-core/include/class_listingSortIterator.inc b/gosa-core/include/class_listingSortIterator.inc
index 14aef7630feb6b312578acae870cb0e2b0753222..af18544aa898fe213b04fee7442e292b6c1fdaaa 100644 (file)
return $b - $a;
case 'date':
+ if ($a == "") {
+ $a= "31.12.0000";
+ }
+ if ($b == "") {
+ $b= "31.12.0000";
+ }
list($d, $m, $y)= split('\.', $a);
$a= (int)sprintf("%04d%02d%02d", $y, $m, $d);
list($d, $m, $y)= split('\.', $b);