diff --git a/phpgwapi/inc/phpgw_utilities_sbox.inc.php b/phpgwapi/inc/phpgw_utilities_sbox.inc.php index 2fc2d5b1df..1ccd431381 100644 --- a/phpgwapi/inc/phpgw_utilities_sbox.inc.php +++ b/phpgwapi/inc/phpgw_utilities_sbox.inc.php @@ -5,7 +5,7 @@ * * @author Marc Logemann [loge@mail.com] * @version 0.9 -* +* $Id$ */ class sbox { @@ -110,15 +110,17 @@ class sbox { return $out; } - function getYears($name, $selected=0) + function getYears($name, $selected=0, $startYear=0) { + + if(!$startYear) $startYear = date("Y"); $out = "