-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type and Model Fields errors when the item is not a computer #7
Comments
solution: ////delete line 243 and add: echo "";
else { ////delete line 271 and add: echo "</textarea>";
|
I suggest another solution:
It is more flexible, it works with General Object plugins and doesn't need any names which depend from system language. You can check my pull proposal for whole code. |
Hi, is posible to get the model and type field based on the type of inventory?
For example i search a peripheral item and i get
on Type:
PHP Notice: Undefined index: computertypes_id in /var/www/html/glpi/plugins/physicalinv/inc/inventory.class.php at line 243
on Model:
PHP Notice: Undefined index: computermodels_id in /var/www/html/glpi/plugins/physicalinv/inc/inventory.class.php at line 271
Regards!
The text was updated successfully, but these errors were encountered: