In fabrik 3.0, I used a calc element with the following code:
It worked perfectly - it's job was to always provide me with the email address of the current user; even if they weren't the person who originally created the form.
I'm now using fabrik 3.3.2 on joomla 3.3.1 with PHP 5.5.26 and this code no longer works.
Any suggestions anyone?
Thanks in advance.
Code:
$user =& JFactory::getUser();
return $user->get('email');
It worked perfectly - it's job was to always provide me with the email address of the current user; even if they weren't the person who originally created the form.
I'm now using fabrik 3.3.2 on joomla 3.3.1 with PHP 5.5.26 and this code no longer works.
Any suggestions anyone?
Thanks in advance.