Version 4.6.0
This commit is contained in:
1 parent
f79dcf067a
commit
517a5e1f70
2036 files changed
+110041
-26162
No files matched your search
@@ -183,7 +183,7 @@ class _DatabaseFilters extends \IPS\Widget
|
||||
|
||||
if ( $values = $form->values() )
|
||||
{
|
||||
$url = $category->url()->setQueryString( array( 'advanced_search_submitted' => 1, 'csrfKey' => \IPS\Session::i()->csrfKey ) );
|
||||
$url = $category->url()->setQueryString( array( 'advanced_search_submitted' => 1 ) );
|
||||
$cookie = array();
|
||||
$params = array();
|
||||
foreach( $values as $k => $v )
|
||||
|
||||
@@ -98,7 +98,7 @@ class _RecordFeed extends \IPS\Content\Widget
|
||||
);
|
||||
|
||||
$class = static::$class;
|
||||
foreach ( array( 'num_comments', 'date', 'views', 'rating_average' ) as $k )
|
||||
foreach ( array( 'num_comments', 'views', 'rating_average' ) as $k )
|
||||
{
|
||||
if ( isset( $class::$databaseColumnMap[ $k ] ) )
|
||||
{
|
||||
|
||||
@@ -75,10 +75,14 @@ class _pagebuilderoembed extends \IPS\Widget\StaticCache implements \IPS\Widget\
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
if ( isset( $this->configuration['video_url'] ) AND $embed = \IPS\Text\Parser::embeddableMedia( \IPS\Http\Url::external( $this->configuration['video_url'] ) ) )
|
||||
try
|
||||
{
|
||||
return $this->output( $embed );
|
||||
if ( isset( $this->configuration['video_url'] ) AND $embed = \IPS\Text\Parser::embeddableMedia( \IPS\Http\Url::external( $this->configuration['video_url'] ) ) )
|
||||
{
|
||||
return $this->output( $embed );
|
||||
}
|
||||
}
|
||||
catch( \UnexpectedValueException $e ){}
|
||||
|
||||
return '';
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user