Gdn_SQLDriver::noReset fails to set class property #5428
Labels
Domain: Database
Status: Stale
For stale issues that will be automatically closed.
Type: Bug
A clear defect in a feature that has been shipped. Fix should include automated testing if possible.
Vanilla version 2.3
This line of code in the method
noReset
is setting a local variable and not the intended class property.$_NoReset = $NoReset ? ($OneTime ? 1 : 2) : 0;
The effect will be that the method
reset()
will always reset all the class properties. In other words, the methodnoReset()
has no effect on the class.The code should be
$this->_NoReset = $NoReset ? ($OneTime ? 1 : 2) : 0;
The text was updated successfully, but these errors were encountered: