e107_admin/comment.php
Assigning array{comments_engine:array{title:'Engine',type:'dropdown',writeParms:array{}},comments_disabled:array{title:'Allow users to post comments',type:'boolean',writeParms:'inverse=1'}}
to property but \comments_admin_ui->prefs
is array{comments_engine:array{title:'Engine',type:'dropdown',writeParms:array{}},comments_disabled:array{title:'Allow users to post comments',type:'boolean',writeParms:'inverse=1'},anon_post:array{title:'Allow anonymous posting?',type:'boolean'},comments_icon:array{title:'Display new comment icon',type:'boolean'},nested_comments:array{title:'Turn on nested comments',type:'boolean'},allowCommentEdit:array{title:'Allow posters to edit their comments',type:'boolean'},comments_emoticons:array{title:'Show emoticon images on comment form?',type:'boolean'}}
Open
Open
$this->prefs = array(
- Exclude checks
Assigning array<string>}}></string>
to property but \comments_admin_ui->prefs
is array{comments_engine:array{title:'Engine',type:'dropdown',writeParms:array{}},comments_disabled:array{title:'Allow users to post comments',type:'boolean',writeParms:'inverse=1'},anon_post:array{title:'Allow anonymous posting?',type:'boolean'},comments_icon:array{title:'Display new comment icon',type:'boolean'},nested_comments:array{title:'Turn on nested comments',type:'boolean'},allowCommentEdit:array{title:'Allow posters to edit their comments',type:'boolean'},comments_emoticons:array{title:'Show emoticon images on comment form?',type:'boolean'}}
Open
Open
$this->prefs['comments_engine']['writeParms']['optArray'][$id] = $val['name'];
- Exclude checks
Call to deprecated function \getperms()
defined at /code/class2.php:1322
Open
Open
if (!getperms("B"))
- Exclude checks
Assigning array<string></string>
to property but \comments_admin_ui->prefs
is array{comments_engine:array{title:'Engine',type:'dropdown',writeParms:array{}},comments_disabled:array{title:'Allow users to post comments',type:'boolean',writeParms:'inverse=1'},anon_post:array{title:'Allow anonymous posting?',type:'boolean'},comments_icon:array{title:'Display new comment icon',type:'boolean'},nested_comments:array{title:'Turn on nested comments',type:'boolean'},allowCommentEdit:array{title:'Allow posters to edit their comments',type:'boolean'},comments_emoticons:array{title:'Show emoticon images on comment form?',type:'boolean'}}
Open
Open
$this->prefs['comments_engine']['writeParms']['optArray'] = array('e107'=>'e107');
- Exclude checks
Variable $list
was undeclared, but array fields are being added to it. Open
Open
$list[$id] = e107::getComment()->getTable($id);
- Exclude checks