Revision 1844
Added by Luisehahne almost 13 years ago
| add.php | ||
|---|---|---|
| 176 | 176 |
''; |
| 177 | 177 |
if($database->query($sql)) {
|
| 178 | 178 |
msgQueue::add($MESSAGE['USERS_ADDED'], true); |
| 179 |
$bRetVal = true; |
|
| 179 | 180 |
} |
| 180 | 181 |
if($database->is_error()) {
|
| 181 | 182 |
msgQueue::add( implode('<br />',explode(';',$database->get_error())) );
|
| ... | ... | |
| 183 | 184 |
} else {
|
| 184 | 185 |
msgQueue::add($HEADING['ADD_USER'].' '.$MESSAGE['GENERIC_NOT_COMPARE']); |
| 185 | 186 |
|
| 186 |
} |
|
| 187 |
} |
|
| 188 |
// |
|
| 187 |
} |
|
| 188 |
return $bRetVal; |
|
| 189 |
} |
|
Also available in: Unified diff
! change return value to boolean in user management delete.php, add.php
! change WEBSITE_SIGNATURE to WBMAIL_SIGNATURE