Hello
I have started using the V7. But I do not understand whether it is my error or it is a bug ? I have a code for the PHP Action as below;
I do not understand if it is a bug or I am making a mistake.
Please help..
I have started using the V7. But I do not understand whether it is my error or it is a bug ? I have a code for the PHP Action as below;
$user = JFactory::getUser();It gets me the value that I need. I have the next PHP function as below just like the above:
require_once( JPATH_ROOT . DS . 'components' . DS . 'prices' . DS . 'users' . DS . 'user.php' );
return $values['email'];
$user = JFactory::getUser();Now here I get the return as NULL. I have six of these codes that I need to get the value only the first action gives me the return all other give me a NULL return...
require_once( JPATH_ROOT . DS . 'components' . DS . 'prices' . DS . 'users' . DS . 'user.php' );
return $values['company'];
I do not understand if it is a bug or I am making a mistake.
Please help..