Fix for Issue#11: schema__itemlocation schema__license_formatter #12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.