Fix bug #1295: Error when creating an agenda extrafield with a number as reference
Merge pull request #1465 from marcosgdf/bug-1295

Fixed bug 1295: Error when creating an agenda extrafield with a number as reference