fixed bug #65311 testsuite failure due to incomplete fix to bug28985.phpt