Version 4.6.0
This commit is contained in:
1 parent
f79dcf067a
commit
517a5e1f70
2036 files changed
+110041
-26162
No files matched your search
@@ -217,10 +217,10 @@ class _Stream extends \IPS\Patterns\ActiveRecord
|
||||
$this->staff = $values['r_staff'] ?: NULL;
|
||||
$this->from_email = $values['r_email'] ?: NULL;
|
||||
$this->search_term = $values['r_search'] ?: NULL;
|
||||
$this->started = $values['r_started'][1] ? json_encode($values['r_started']): NULL;
|
||||
$this->last_new_reply = $values['r_last_new_reply'][1] ? json_encode($values['r_last_new_reply']): NULL;
|
||||
$this->last_reply = $values['r_last_reply'][1] ? json_encode($values['r_last_reply']): NULL;
|
||||
$this->last_staff_reply = $values['r_last_staff_reply'][1] ? json_encode($values['r_last_staff_reply']): NULL;
|
||||
$this->started = ( \is_array( $values['r_started'] ) AND $values['r_started'][1] ) ? json_encode($values['r_started']): NULL;
|
||||
$this->last_new_reply = ( \is_array( $values['r_last_new_reply'] ) AND $values['r_last_new_reply'][1] ) ? json_encode($values['r_last_new_reply']): NULL;
|
||||
$this->last_reply = ( \is_array( $values['r_last_new_reply'] ) AND $values['r_last_reply'][1] ) ? json_encode($values['r_last_reply']): NULL;
|
||||
$this->last_staff_reply = ( \is_array( $values['r_last_staff_reply'] ) AND $values['r_last_staff_reply'][1] ) ? json_encode($values['r_last_staff_reply']): NULL;
|
||||
$this->tracked = (bool) $values['r_tracked'];
|
||||
}
|
||||
|
||||
@@ -267,7 +267,7 @@ class _Stream extends \IPS\Patterns\ActiveRecord
|
||||
* @param \IPS\Http\Url $url The URL to submit to
|
||||
* @return \IPS\Helpers\Form
|
||||
*/
|
||||
public function form( Stream $selectedStream = NULL, \IPS\Http\Url $url )
|
||||
public function form( ?Stream $selectedStream, \IPS\Http\Url $url )
|
||||
{
|
||||
/* Init */
|
||||
$form = new \IPS\Helpers\Form( 'form', 'show_results', $url );
|
||||
|
||||
Reference in new issue
Block a user