/**
  * @see	\wcf\system\option\IOptionHandler::readUserInput()
  */
 public function readUserInput(array &$source)
 {
     parent::readUserInput($source);
     // remove 4 byte utf-8 characters (e.g. emoji)
     foreach ($this->rawValues as &$value) {
         if (is_string($value)) {
             $value = MessageUtil::stripCrap($value);
         }
     }
     if ($this->searchMode) {
         $this->optionValues = $this->rawValues;
     }
 }
Example #2
0
	/**
	 * @see	wcf\system\option\IOptionHandler::readUserInput()
	 */
	public function readUserInput(array &$source) {
		parent::readUserInput($source);
		
		if ($this->searchMode) {
			$this->optionValues = $this->rawValues;
		}
	}