openrat-cms

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

commit 19e53c76e354152f246865503420c39f37469224
parent bd090af22535097197f07dd0d2767bb1ef384a5a
Author: dankert <devnull@localhost>
Date:   Mon, 23 Jan 2006 23:59:43 +0100

Leere Gruppennamen ?bersteuern

Diffstat:
objectClasses/Group.class.php | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/objectClasses/Group.class.php b/objectClasses/Group.class.php @@ -20,7 +20,10 @@ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // --------------------------------------------------------------------------- // $Log$ -// Revision 1.4 2004-05-19 21:11:35 dankert +// Revision 1.5 2006-01-23 22:59:43 dankert +// Leere Gruppennamen ?bersteuern +// +// Revision 1.4 2004/05/19 21:11:35 dankert // subaction verwenden // // Revision 1.3 2004/05/19 21:11:04 dankert @@ -92,6 +95,9 @@ class Group // Speichern Benutzer in der Datenbank function save() { + if ( empty($this->name) ) + $this->name = lang('GLOBAL_GROUP').' '.$this->groupid; + $db = db_connection(); // Gruppe speichern