Refactoring/simplification of the pull-request about links
This commit is contained in:
@@ -155,9 +155,6 @@ class Helper
|
||||
*/
|
||||
public function formValue($values, $name)
|
||||
{
|
||||
if (false !== ($pos = strpos($name, '['))) {
|
||||
$name = substr($name, 0, $pos);
|
||||
}
|
||||
if (isset($values->$name)) {
|
||||
return 'value="'.$this->e($values->$name).'"';
|
||||
}
|
||||
@@ -584,7 +581,6 @@ class Helper
|
||||
{
|
||||
return strpos($haystack, $needle) !== false;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Return a value from a dictionary
|
||||
|
||||
Reference in New Issue
Block a user