[Fixed] Typos in variable names in embed.phtml results in Undefined Variable errors

edited November 2015 in Bugs and Errors
Typos in variable names in embed.phtml results in Undefined Variable errors in the web server's error.log

Wed Apr 08 11:44:47.938015 2015] [:error] [pid 30022] [client xx.xx.xx.xx:62093] PHP Notice: Undefined variable: webmEncodingEenabled in /usr/local/data/www/html/cc/cc-content/themes/default/embed.phtml on line 33

[Wed Apr 08 11:44:47.938054 2015] [:error] [pid 30022] [client xx.xx.xx.xx:62093] PHP Notice: Undefined variable: theoraEncodingEenabled in /usr/local/data/www/html/cc/cc-content/themes/default/embed.phtml on line 36

Line 33 in embed.phtml: <?php if ($webmEncodingEenabled): ?>
Line 36 in embed.phtml: <?php if ($theoraEncodingEenabled): ?>

Notice the spelling of Enabled as Eenabled

Cheers

Comments

This discussion has been closed.