1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 00:54:49 +02:00

Issue #5079 PHP Warning.

This commit is contained in:
camer0n
2023-10-30 07:28:14 -07:00
parent 81698566c0
commit 6d632320a6
2 changed files with 9 additions and 4 deletions

View File

@@ -2316,10 +2316,10 @@ class e_parse
// cleanup.
$newOpts = array(
'w' => (string) intval($options['w']),
'h' => (string) intval($options['h']),
'aw' => (string) intval($options['aw']),
'ah' => (string) intval($options['ah']),
'w' => isset($options['w']) ? (string) intval($options['w']) : '',
'h' => isset($options['h']) ? (string) intval($options['h']) : '',
'aw' => isset($options['aw']) ? (string) intval($options['aw']) : '',
'ah' => isset($options['ah']) ? (string) intval($options['ah']) : '',
'c' => strtoupper(vartrue($options['c'], '0')),
);