$db->escape already wraps the result in 's so there is no need to do it in the
caller.
This is a little complicated in searchMusic since the %'s need to be inside the
quoting but we do not want them to be escaped themselves. Concat them with the
search term using a SQL CONCAT().
Signed-off-by: Stuart Auchterlonie <email address hidden>
(cherry picked from commit d2469d2e3978a1288f79157990cf015d421d95d4)
e1fdde1...
by
Nicolas Riendeau <email address hidden>
Always ask for the PHP UTF-8 supporting locale for all translations
Reduce cache headers for program details ajax popup.
As it stands, these are being set to 10 days beyond the program start
time. This means that mythweb will often show stale data for programs
that have been updated since they were initially added to the guide.
This reduces the cache time to 2 hours, which seems like a reasonable
time to cache for, yet still get timely updates.
Fixes #12415
(cherry picked from commit 97a33211bd8d4dee6e0badb88760f07d66fe5d40)