Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
2.2
-
None
Description
If you delete an image from the web interface and it was the last image you reserved then when you got to the create reservation screen or the image creation screen, you can't make a reservation and a long error message appears. In short:
Unknown error type: [8] Undefined index 20
Error at 165: in /var/www/html/vcl/.ht-inc/requests.php
Looking at the code this is the cause at line number 45:
$imageid = processInputVar("imageid", ARG_STRING, getUsersLastImage($user['id']));
Since the last image doesn't exist, it throughs an error.