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

Fix for Issue#11: schema__itemlocation schema__license_formatter #12

Merged
merged 1 commit into from
Mar 10, 2021

Conversation

dsenalik
Copy link
Collaborator

Fix for Issue #11

The following two warnings appear on a file page:

Warning: A non-numeric value encountered in tripal_format_bytes() (line 153 of /var/www/2020-02-18/drupal-7.69/sites/all/modules/tripal/tripal/api/tripal.files.api.inc).

Notice: Undefined index: empty in theme_table() (line 2003 of /var/www/2020-02-18/drupal-7.69/includes/theme.inc).Notice: Undefined index: empty in theme_table() (line 2003 of /var/www/2020-02-18/drupal-7.69/includes/theme.inc).

The first warning appears when the file is a URL and the file size is a null string in schema__itemlocation.inc

The second notice appears because a value for ['empty'] is not defined in schema__license_formatter.inc

One stray typo corrected also.

Copy link
Collaborator Author

@dsenalik dsenalik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

redundant comment deleted

@spficklin spficklin merged commit c597829 into tripal:7.x-1.x Mar 10, 2021
@spficklin
Copy link
Member

Thanks @dsenalik!

@spficklin spficklin added the bug Something isn't working label Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants