mirror of
https://github.com/prasathmani/tinyfilemanager.git
synced 2026-04-26 19:05:54 +03:00
[PR #386] [MERGED] Notice: A non well formed numeric value encountered #968
Labels
No labels
Feature
Feature
Is It Really an Issue?
Need More Info
Request
Security
bug
duplicate
enhancement
enhancement
help wanted
invalid
pull-request
question
suggestion
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tinyfilemanager#968
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/prasathmani/tinyfilemanager/pull/386
Author: @michael-milette
Created: 6/27/2020
Status: ✅ Merged
Merged: 6/27/2020
Merged by: @prasathmani
Base:
master← Head:master📝 Commits (1)
94136f6Notice: A non well formed numeric value encountered📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
tinyfilemanager.php(+1 -0)📄 Description
Eliminates the following PHP notices when Error Reporting is turned on:
Notice: A non well formed numeric value encountered in tinyfilemanager.php on line 2443
Notice: A non well formed numeric value encountered in tinyfilemanager.php on line 2444
These notices appear near the top of the screen when viewing the contents of a file.
This happens because PHP floor and round are expecting a (float), not an (int).
Tested under PHP 7.1, 7.2 and 7.3 on Windows.
Let me know if you have any questions.
Best regards,
Michael
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.