Change lastid to return 1 instead of -1

This commit is contained in:
Miles Lott 2001-03-24 15:44:35 +00:00
parent 7e03760d36
commit db4c710847

View File

@ -1332,7 +1332,7 @@
} }
if (empty($id) || !$id) { if (empty($id) || !$id) {
return -1; return 1;
} else { } else {
return intval($id); return intval($id);
} }