13
Hi cesag,
Here are the fixes for the errors reported
For first error :
Replace line 11 in ./modules/xforms/admin/ele_text.php
$default = new XoopsFormText(_AM_ELE_DEFAULT, 'ele_value[2]', 50, 255, $myts->htmlspecialchars($myts->stripSlashesGPC($value[2])));
by
$default = new XoopsFormText(_AM_ELE_DEFAULT, 'ele_value[2]', 50, 255, isset($value[2]) ? $myts->htmlspecialchars($myts->stripSlashesGPC($value[2])) : '');
For second error :
Replace line 10 in ./modules/xforms/admin/ele_uploadimg.php
$saveas = $value[3] != 1 ? 0 : 1;
by
if (isset($value[3]) && $value[3] == 1) {
$saveas = $value[3];
} else {
$saveas = 0;
}
For the third error
Replace line 8 in ./modules/xforms/admin/ele_upload.php
$saveas = $value[3] != 1 ? 0 : 1;
by
if (isset($value[3]) && $value[3] == 1) {
$saveas = $value[3];
} else {
$saveas = 0;
}
For the fourth error, I have no error at line 39. The offset "intro" file comes xoops_version.php, surely a mistake to install the module and then the bug has already been corrected by another person.