mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 15:18:58 +01:00
Change lastid to return 1 instead of -1
This commit is contained in:
parent
7e03760d36
commit
db4c710847
@ -1332,7 +1332,7 @@
|
||||
}
|
||||
|
||||
if (empty($id) || !$id) {
|
||||
return -1;
|
||||
return 1;
|
||||
} else {
|
||||
return intval($id);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user