Skip to content

Instantly share code, notes, and snippets.

@erop
Forked from jmertic/gist:825943
Created April 21, 2011 21:55
Show Gist options
  • Save erop/935573 to your computer and use it in GitHub Desktop.
Save erop/935573 to your computer and use it in GitHub Desktop.
PHP: Check if SugarCRM record is new
<?php
if (!empty($bean->fetched_row['id'])) {
// Do custom logic
}
@erop
Copy link
Author

erop commented Apr 21, 2011

I think there is a need to add one of paranthesis on the right side of evaluation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment