I am trying to run a DB Save action but if I set a condition it displays a white empty page.
Here is my condition:
My db table looks like this:
On the form I have only the Amount textbox.
Any idea what is happening? If I put a debug action, the effect is the same, nothing displays.
Here is my condition:
<?php
$user = JFactory::getUser();
return array('user_id' => $user->get('id'));
?>
My db table looks like this:
1 id int(11)
2 uniq_id varchar(50)
3 user_id int(11)
4 created datetime
5 modified datetime
6 amount varchar(255)
On the form I have only the Amount textbox.
Any idea what is happening? If I put a debug action, the effect is the same, nothing displays.