Bug #5077

PHP Errors when press Delete and no Equipment has been tipped.

Added by blerohellec over 7 years ago. Updated almost 7 years ago.

Status:ClosedStart date:10/03/2014
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:-
Target version:1.5.1

Description

In a rack (Front, Back panel), press 'Delete permanently' while no Equipment has been tipped.
2 PHP errors are systematically generated in php-errors.log

2014-10-03 15:39:18
Notice(8): Undefined index: item
Backtrace :
/var/www/glpiOLD/plugins/racks/front/rack.form.php:99 Toolbox::userErrorHandlerNormal()

2014-10-03 15:39:18
Warning(2): Invalid argument supplied for foreach()
Backtrace :
/var/www/glpiOLD/plugins/racks/front/rack.form.php:99 Toolbox::userErrorHandlerNormal()

Associated revisions

Revision 431
Added by tsmr over 7 years ago

PHP Errors when press Delete and no Equipment has been tipped. fix #5077

History

#1 Updated by tsmr over 7 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r431.

#2 Updated by tsmr over 7 years ago

  • Target version set to 1.5.1

#3 Updated by blerohellec almost 7 years ago

  • Status changed from Resolved to Closed

OK

Also available in: Atom PDF