XenForo
Administrative
- Thread starter
- Admin
- #1
The following code does not show an error in PhpStorm IDE but this leads to a switch fallthrough (which I didn't intentionally do in the block of code).
PHP:
Read more
ادامه مطلب...
PHP:
Code:
$author_option = $this->options['select_author'];
switch ( $author_option ) {
case ( $author_option === '1' ) :
$author_id = $post->post_author;
return XF::app()->finder( 'XF:User' )->where( 'user_id', $author_id )->fetchOne();
case (...
Read more
ادامه مطلب...