openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 05e6b6297e98ab2cba257587b2e6c1e7753f76b2
parent d2b32cd5a2a4188512b04da1d683b57f2aa1cf0c
Author: dankert <devnull@localhost>
Date:   Sun, 25 Apr 2004 21:00:46 +0200

Konstruktor parameterlos

Diffstat:
objectClasses/Project.class.php | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/objectClasses/Project.class.php b/objectClasses/Project.class.php @@ -32,11 +32,11 @@ class Project var $cut_index; // Konstruktor - function Project( $projectid ) + function Project( $projectid='' ) { global $SESS; - if ( is_numeric($projectid) ) + if ( intval($projectid)>0 ) $this->projectid = $projectid; else $this->projectid = $SESS['projectid']; }