save_pod_item() not returning the right value!
hey guys im tryin out this code it worked fine earlier, just that now it doesn't
$api = new PodAPI();
$columns_person['name'] = 'test';
$columns_person['day'] = 'wednesday';
$params = array('datatype' => 'person', 'columns' => $columns_person);
$person_id = $api->save_pod_item($params)
if(!empty($person_id))
{
echo "New Person Has been Added";
}
else
{
echo "Failed to Add New Person";
}
apparently this worked fine before the recent updates to 1.9.2 or so, but as of now what this manages to do is insert the pod item but prints "Failed to Add New Person", is this a bug of some sort?
1 Answer
Is "php_value zend.ze1_compatibility_mode" set to "On" in your php-config? Set it to "Off", worked for me.


