Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors in Add Company. #19

Closed
LindolfoJunior opened this issue Apr 27, 2018 · 1 comment
Closed

Errors in Add Company. #19

LindolfoJunior opened this issue Apr 27, 2018 · 1 comment

Comments

@LindolfoJunior
Copy link

Hello!
There is an error in /classes/CustomFields.class.php at line 644 that refers to trying to count the custom fields, however, when I go to the company registry page it displays the error below.

To fix it, I suggest the fix for the following code:
return ($this->fields)?count($this->fields):0;

Below is the screenshoot.
error

@ajdonnison
Copy link
Contributor

Thanks for the report - I've chosen a slightly different approach that gets rid of other potential errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants