FS#49039 - [cacti] Php7 compatibility - Unable to add new devices/data sources

Attached to Project: Community Packages
Opened by Alexander Kempen (chron) - Thursday, 21 April 2016, 10:55 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 21 April 2016, 14:25 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


PHP message: PHP Parse error: syntax error, unexpected 'new' (T_NEW) in /usr/share/webapps/cacti/lib/adodb/adodb-lib.inc.php on line 537

In his patch from February (spider007 / https://bugs.archlinux.org/task/48325) missed a line, working installations are fine, but it's impossible to add new devices or data sources. I've attached a patch that fixes it.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Thursday, 21 April 2016, 14:25 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#48325 

If the fix was wrong, request that one be reopened.