Actions
Bug #28836
closedt3lib_Registry: get after inital set does not work
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-08-08
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
$registry = t3lib_div::makeInstance('t3lib_Registry');
$registry->set('tx_test', $key, TRUE);
$value = $registry->get('tx_test', $key2, TRUE);
$value is allways null
$this->loadEntriesByNamespace($namespace); will only be called by the get function.
Updated by Dietrich Heise over 13 years ago
Dietrich Heise wrote:
ups, there is a typo: $registry->get('tx_test', $key2);
$registry = t3lib_div::makeInstance('t3lib_Registry');
$registry->set('tx_test', $key, TRUE);
$value = $registry->get('tx_test', $key2, TRUE);
$value = $registry->get('tx_test', $key2);
$value is allways null
$this->loadEntriesByNamespace($namespace); will only be called by the get function.
Actions