Skip to content

Commit

Permalink
Fix undefined variable $imgbtns
Browse files Browse the repository at this point in the history
  • Loading branch information
torinfo committed Feb 22, 2023
1 parent a589fda commit 6efa6f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/xerte/edithtml.php
Expand Up @@ -156,7 +156,7 @@ function output_editor_code($row_edit, $xerte_toolkits_site, $read_status, $vers
{
$info = file($theme_folder . $f . "/" . $f . ".info", FILE_SKIP_EMPTY_LINES);
$themeProperties = new StdClass();

$themeProperties->imgbtns = false;
foreach ($info as $line) {
$attr_data = explode(":", $line, 2);
if (empty($attr_data) || sizeof($attr_data) != 2) {
Expand Down

0 comments on commit 6efa6f9

Please sign in to comment.