Version 5.0.0 beta 4
This commit is contained in:
1 parent
e86153356a
commit
2f24f9de48
276 files changed
+8614
-6044
No files matched your search
@@ -45,7 +45,7 @@ class Reactionmapper extends FormAbstract
|
||||
public function html() : string
|
||||
{
|
||||
/* Setup our local reaction descriptions and options */
|
||||
foreach( Content\Reaction::getStore() as $ipsReaction )
|
||||
foreach( Reaction::getStore() as $ipsReaction )
|
||||
{
|
||||
$this->options['options'][ $ipsReaction['reaction_id'] ] = (string) File::get( 'core_Reaction', $ipsReaction['reaction_icon'] )->url;
|
||||
$this->options['descriptions'][ $ipsReaction['reaction_id'] ] = Member::loggedIn()->language()->addToStack('reaction_title_' . $ipsReaction['reaction_id'] );
|
||||
@@ -76,9 +76,7 @@ class Reactionmapper extends FormAbstract
|
||||
public function getValue(): mixed
|
||||
{
|
||||
$name = $this->name;
|
||||
$value = Request::i()->$name;
|
||||
|
||||
return $value;
|
||||
return Request::i()->$name;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user