Bug #4903

Creating a question without defining its type should not be allowed

Added by dethegeek over 5 years ago.

Status:NewStart date:05/01/2014
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

The new question is created with warnings below (only in debug mode).

PHP Notice: Undefined index: nbValue in /var/www/glpi-0-84/plugins/formcreator/inc/question.class.php at line 568
PHP Notice: Undefined index: value in /var/www/glpi-0-84/plugins/formcreator/inc/question.class.php at line 1189

Also available in: Atom PDF