Mistři v programování na #hovnokod

PHP #151

	if (!empty($this->title)) {
		$title = array();
		if (is_array($this->title)) {
			foreach ($this->title as $tArr)
			{
				if (is_array($tArr)) {
					$title[] = $tArr[0];
				}
				else {
					$title[] = $tArr;
				}
			}
			$title = join(' - ', $title);
		}
		else {
			$title = @$this->title;
		}
	}

Anonymous,