Version 4.3.6
This commit is contained in:
1 parent
fe1acf984a
commit
1a0c7fd3c2
609 files changed
+14707
-5726
No files matched your search
@@ -205,7 +205,7 @@ class _streams extends \IPS\Dispatcher\Controller
|
||||
if ( $field == 'custom_members' and isset( \IPS\Request::i()->stream_custom_members ) )
|
||||
{
|
||||
$members = NULL;
|
||||
foreach( explode( ',', \IPS\Request::i()->stream_custom_members ) as $name )
|
||||
foreach( str_replace( "\r", '', explode( "\n", \IPS\Request::i()->stream_custom_members ) ) as $name )
|
||||
{
|
||||
try
|
||||
{
|
||||
@@ -460,7 +460,6 @@ class _streams extends \IPS\Dispatcher\Controller
|
||||
|
||||
$stream = new \IPS\core\Stream;
|
||||
$stream->member = \IPS\Member::loggedIn()->member_id;
|
||||
$stream->default_view = 'expanded';
|
||||
|
||||
\IPS\Output::i()->title = \IPS\Member::loggedIn()->language()->addToStack( 'create_new_stream' );
|
||||
\IPS\Output::i()->output = $this->_buildForm( $stream );
|
||||
@@ -687,8 +686,11 @@ class _streams extends \IPS\Dispatcher\Controller
|
||||
{
|
||||
$form->hiddenValues['__stream_owner'] = $stream->member;
|
||||
}
|
||||
|
||||
$form->hiddenValues['stream_default_view'] = $stream->default_view;
|
||||
|
||||
if ( $stream->default_view )
|
||||
{
|
||||
$form->hiddenValues['stream_default_view'] = $stream->default_view;
|
||||
}
|
||||
|
||||
/* Handle submissions */
|
||||
if ( $values = $form->values() )
|
||||
|
||||
Reference in new issue
Block a user