Mantis Bugtracker          
testlink.org

View Revisions: Issue #8770 All Revisions ] Back to Issue ]
Summary 0008770: Uknown PHP sprtinf called
Revision 2019-09-19 15:31 by fman
Description
Dear TL support

We found the log had this error:

- PHP Fatal error: Uncaught Error: Call to undefined function sprtinf() in /var/www/testlink/lib/functions/testcase.class.php:1918\nStack trace:\n#0 /var/www/testlink/lib/testcases/tcEdit.php(239): testcase->copy_to(209022, 263586, 189, Array)\n#1 {main}\n thrown in /var/www/testlink/lib/functions/testcase.class.php on line 1918, referer: https://testlink.emsa.europa.eu/lib/testcases/tcEdit.php [^] [^]


Line 1918 of file lib/functions/testcase.class.php was

$act = sprtinf(self::GHOSTSTEPMASK,$step['step_number'],


and after replaced by
$act = sprintf(self::GHOSTSTEPMASK,$step['step_number'],

(sprtinf was replaced by sprintf)

Error is gone.

Can you please confirm this is correct?


Thanks,
Revision 2019-09-19 14:14 by filipse
Description

Dear TL support

We found the log had this error:

- PHP Fatal error: Uncaught Error: Call to undefined function sprtinf() in /var/www/testlink/lib/functions/testcase.class.php:1918\nStack trace:\n#0 /var/www/testlink/lib/testcases/tcEdit.php(239): testcase->copy_to(209022, 263586, 189, Array)\n#1 {main}\n thrown in /var/www/testlink/lib/functions/testcase.class.php on line 1918, referer: https://testlink.emsa.europa.eu/lib/testcases/tcEdit.php [^] [^]


Line 1918 of file lib/functions/testcase.class.php was

$act = sprtinf(self::GHOSTSTEPMASK,$step['step_number'],


and after replaced by
$act = sprintf(self::GHOSTSTEPMASK,$step['step_number'],

(sprtinf was replaced by sprintf)

Error is gone.

Can you please confirm this is correct?


Thanks,



Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker