We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ouch. This is a biggie:
$namespace = new Bag('Test'); $namespace->{'nonces'}[$nonce] = $value;
Nothing happens. If I add an extra line (I guess to explicitly set something and force it to save), then it stores x = y, and the values above.
$namespace = new Bag('Test'); $namespace->{'nonces'}[$nonce] = $value; $namespace->set('x', 'y');
The text was updated successfully, but these errors were encountered:
More to that, it seems to be failing only with nested values, e.g., when I do:
$namespace->{'x'} = 'y';
It works, but when I do:
$namespace->{'nonces'}[$nonce] = $value;
It stores Test in the $_SESSION as null. The current solution is to "manually" set it again after directly changing the values, which is a bitch.
$_SESSION
null
$namespace->{'nonces'}[$nonce] = $value; $namespace->set('nonces', $namespace->{'nonces'});
There's too much code to rewrite going forward with $namespace->set(…), can we please fix this? 😈
$namespace->set(…)
Sorry, something went wrong.
@sjinks, this is related to #1895. Didn't think to test the actual $_SESSION back then. But here we come…
No branches or pull requests
Ouch. This is a biggie:
Nothing happens. If I add an extra line (I guess to explicitly set something and force it to save), then it stores x = y, and the values above.
The text was updated successfully, but these errors were encountered: