1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-10 08:34:09 +02:00

Code cleanup

This commit is contained in:
Cameron
2020-12-18 19:55:12 -08:00
parent 2b8a3cff60
commit 5b82c292b1
80 changed files with 1888 additions and 1731 deletions

View File

@@ -146,7 +146,7 @@ if(e_AJAX_REQUEST) // TODO improve security
* Fix for issue e107inc/e107#3154 (Comments not refreshing on submission)
* Missing 6th argument ($subject) caused an exception
*/
$ret['html'] .= e107::getComment()->render_comment($row,'comments','comment',intval($_POST['itemid']),$width, $tp->toDB($clean_subject));
$ret['html'] .= e107::getComment()->render_comment($row,'comments','comment', (int) $_POST['itemid'], $width, $tp->toDB($clean_subject));
$ret['html'] .= "</li>\n<!-- end Appended -->\n";
$ret['error'] = false;