Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
TABR displays tons of PHP warnings when creating a new contact and not entering a lastname.
Logged In: YES
The problem is that the new attach property to an address feature incorrectly assumes that $refid is set.
I fixed 2 major sources of warnings by skipping an address if the refid is not set.
if(!isset($a['refid'])) // if someone leaves the lastname blank we reedit the same contact - would cause tons of warnings
$a = null;
This blanks out a just entered address, which might annoy a user.
Still to fix:
Notice: Undefined index: refid in /srv/www/tab3/lib/frontEnd/PageContactEdit.class.php on line 310
I fixed all warnings, BUT ...
TODO: the input to addresses should not be lost, so a better fix on #679 is needed.