Categories > TinyButStrong general >

MergeBlock with objects bug ...

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: ChocoKiller
Date: 2006-05-26
Time: 10:01

MergeBlock with objects bug ...

Hi !

I think it's a problem with the MergeBlock function with Objects.

Version 3.0.5 of TinyButStrong (tbs_class.php), line 132 :
if ($oTBS->meth_Misc_UserFctCheck($FctInfo,$ErrMsg,true))

should be
if ($TBS->meth_Misc_UserFctCheck($FctInfo,$ErrMsg,true))

Without this, the class doesn't found the three methods needed to use an object as a database wrapper (_open, _fetch and _close). I don't check this modification on TinyButStrong for PHP5, same line to change, at line 126. But I think it would be the same issue ...

Regards,

ChocoKiller
By: Skrol29
Date: 2006-05-26
Time: 12:13

Re: MergeBlock with objects bug ...

Hi ChocoKiller,

Thanks for reporting this bug.
It has been fixed now, and TBS version 3.0.6 is already available for download.
By: ChocoKiller
Date: 2006-05-26
Time: 21:40

Re: MergeBlock with objects bug ...

You're welcome ...

It's always a pleasure to help you ! :D