You are not logged in.
Pages: 1
Topic closed
Hi,
I found a bug in the glpi reports plugin:
https://forge.glpi-project.org/projects/reports
I noticed this error in our server's logs:
PHP Fatal error: Uncaught Error: Call to undefined method DbUtils::etTableForItemType() in /usr/share/glpi/plugins/reports/report/infocom/infocom.php:154\nStack trace:\n#0 {main}\n thrown in /usr/share/glpi/plugins/reports/report/infocom/infocom.php on line 154,
It looks like a simple mistake in line 154:
https://forge.glpi-project.org/projects … m.php#L154
It should be changed:
- $modeltable = $dbu->etTableForItemType($modelclass);
+ $modeltable = $dbu->getTableForItemType($modelclass);
~Jason
Offline
Ticket opened in the roadmap: https://forge.glpi-project.org/issues/5562
Thanks
CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6 - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)
Offline
Version 1.11.3 published this day with the correction
CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6 - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)
Offline
Pages: 1
Topic closed