Skip to content

Commit 3e08048

Browse files
authored
bugfix on syntax warning
Avoid this error: Warning: Use of undefined constant initialize_ - assumed 'initialize_' (this will throw an Error in a future version of PHP) in /phpipam-agent/functions/classes/class.phpipamAgent.php on line 443
1 parent dcb3a98 commit 3e08048

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/classes/class.phpipamAgent.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ private function print_success ($text) {
440440
*/
441441
public function execute () {
442442
// initialize proper function
443-
$init = initialize_.$this->conn_type;
443+
$init = 'initialize_'.$this->conn_type;
444444
// init
445445
return $this->{$init} ();
446446
}

0 commit comments

Comments
 (0)