Version 4.3.0
This commit is contained in:
1 parent
96997ddd8e
commit
fe1acf984a
1349 files changed
+116159
-67711
No files matched your search
@@ -106,7 +106,7 @@ class _clubs extends \IPS\Widget
|
||||
{
|
||||
if ( !isset( $this->configuration['language_key'] ) )
|
||||
{
|
||||
$this->configuration['language_key'] = 'widget_title_' . md5( uniqid() );
|
||||
$this->configuration['language_key'] = 'widget_title_' . md5( mt_rand() );
|
||||
}
|
||||
$values['language_key'] = $this->configuration['language_key'];
|
||||
\IPS\Lang::saveCustom( 'core', $this->configuration['language_key'], $values['widget_feed_title'] );
|
||||
@@ -166,7 +166,7 @@ class _clubs extends \IPS\Widget
|
||||
isset( $this->configuration['filters'] ) ? $this->configuration['filters'] : array()
|
||||
);
|
||||
|
||||
if ( count( $clubs ) )
|
||||
if ( is_object( $clubs ) AND $clubs->count( TRUE ) )
|
||||
{
|
||||
return $this->output(
|
||||
$clubs,
|
||||
|
||||
Reference in new issue
Block a user