Visual Console Refactor: removed the html entities from the main model data output
Former-commit-id: c8dfcdd77c7138a6644a3e785f652619bd4b852c
This commit is contained in:
parent
b0b1db5746
commit
8f48deca14
|
@ -213,6 +213,9 @@ final class Container extends Model
|
||||||
include_once $config['homedir'].'/include/functions_io.php';
|
include_once $config['homedir'].'/include/functions_io.php';
|
||||||
include_once $config['homedir'].'/include/functions_ui.php';
|
include_once $config['homedir'].'/include/functions_ui.php';
|
||||||
|
|
||||||
|
// Clean HTML entities.
|
||||||
|
$row = \io_safe_output($row);
|
||||||
|
|
||||||
$backgroundUrl = static::extractBackgroundUrl($row);
|
$backgroundUrl = static::extractBackgroundUrl($row);
|
||||||
$backgroundImage = static::extractBackgroundImage($row);
|
$backgroundImage = static::extractBackgroundImage($row);
|
||||||
|
|
||||||
|
|
|
@ -669,6 +669,13 @@ class Item extends Model
|
||||||
throw new \Exception('error fetching the data from the DB');
|
throw new \Exception('error fetching the data from the DB');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Load side libraries.
|
||||||
|
global $config;
|
||||||
|
include_once $config['homedir'].'/include/functions_io.php';
|
||||||
|
|
||||||
|
// Clean HTML entities.
|
||||||
|
$row = \io_safe_output($row);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Retrieve extra data.
|
* Retrieve extra data.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue