diff options
Diffstat (limited to 'phpBB/phpbb')
| -rw-r--r-- | phpBB/phpbb/template/assets_bag.php | 4 | ||||
| -rw-r--r-- | phpBB/phpbb/textreparser/plugins/poll_title.php | 2 | 
2 files changed, 3 insertions, 3 deletions
| diff --git a/phpBB/phpbb/template/assets_bag.php b/phpBB/phpbb/template/assets_bag.php index 9013061b96..067b0eb8f1 100644 --- a/phpBB/phpbb/template/assets_bag.php +++ b/phpBB/phpbb/template/assets_bag.php @@ -71,7 +71,7 @@ class assets_bag  		$output = '';  		foreach ($this->stylesheets as $stylesheet)  		{ -			$output .= "<link href=\"{$stylesheet->get_url()}\" rel=\"stylesheet\" type=\"text/css\" media=\"screen\" />\n"; +			$output .= "<link href=\"{$stylesheet->get_url()}\" rel=\"stylesheet\" media=\"screen\" />\n";  		}  		return $output; @@ -87,7 +87,7 @@ class assets_bag  		$output = '';  		foreach ($this->scripts as $script)  		{ -			$output .= "<script type=\"text/javascript\" src=\"{$script->get_url()}\"></script>\n"; +			$output .= "<script src=\"{$script->get_url()}\"></script>\n";  		}  		return $output; diff --git a/phpBB/phpbb/textreparser/plugins/poll_title.php b/phpBB/phpbb/textreparser/plugins/poll_title.php index 76d30655c9..5ca8bb063b 100644 --- a/phpBB/phpbb/textreparser/plugins/poll_title.php +++ b/phpBB/phpbb/textreparser/plugins/poll_title.php @@ -34,7 +34,7 @@ class poll_title extends \phpbb\textreparser\row_based_plugin  		$sql = 'SELECT t.topic_id AS id, t.poll_title AS text, p.enable_bbcode, p.enable_smilies, p.enable_magic_url, p.bbcode_uid  			FROM ' . TOPICS_TABLE . ' t, ' . POSTS_TABLE . ' p  			WHERE t.topic_id BETWEEN ' . $min_id . ' AND ' . $max_id .' -				AND t.poll_max_options > 0 +				AND t.poll_start > 0  				AND p.post_id = t.topic_first_post_id';  		return $sql; | 
