MythWeb code correction | arfore.com

After recently upgrading my MythTV system, I set to editing the metadata for my video collection.

Everything worked fine when editing through the regular interface, but when attempting to edit the data through the MythWeb interface, I noticed that entries where the title started with double-quotes, the field in the edit screen was empty.

The data would be stored in the database, if entered in quotes, yet the edit screen would not retrieve it.

The solution is to add the usage of PHP function htmlentities in the edit.php file of the video module of MythWeb.

The problem is in line 102 where the value attribute contains the following snippet of PHP code:

The corrected version would look like this:

This is built off the latest version of the stable MythWeb module. Download the corrected version.

Andy Fore – Mon, 2007 – 01 – 15 16:53

%d bloggers like this: