1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Removed redundant closing tags.

This commit is contained in:
Cameron
2020-06-05 11:34:17 -07:00
parent 7439d599f8
commit 450b35f017
43 changed files with 47 additions and 72 deletions

View File

@@ -59,7 +59,7 @@ class ArrayData {
* Returns an array from stored array data.
* @DEPRECATED use e107::unserialize() instead.
* @param string $ArrayData
* @return array stored data
* @return bool|array stored data
*/
function ReadArray($ArrayData)
{
@@ -78,12 +78,12 @@ class ArrayData {
$data = "";
$ArrayData = '$data = '.trim($ArrayData).';';
@eval($ArrayData);
if (!isset($data) || !is_array($data)) {
if (!isset($data) || !is_array($data))
{
trigger_error("Bad stored array data - <br /><br />".htmlentities($ArrayData), E_USER_ERROR);
return false;
// return false;
}
return $data;
}
}
?>