Closed (fixed)
Project:
Scald: Media Management made easy
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
12 Feb 2019 at 16:44 UTC
Updated:
12 Apr 2019 at 13:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
fgmTagging.
Comment #3
DeFr commentedEasy fix ; the whole default: continue; in that function is a leftover from prehistoric time where there was a trigger_error call when something was passed to scald_search that wasn't recognized. Now that it's silently dropped, we may as well remove the default completly…
Comment #4
fgmI tend to always leave a default in switches, if only to log an error if the value is unexpected. Don't you think it would be careful ?
Comment #5
niklp commentedAgree, but I'd always used
default: break;- is that weird?Comment #7
nagy.balint commentedCommitted the patch to solve the php 7.3 issue. Follow up patch can be made if it seems necessary.