1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 00:37:42 +02:00

Merge branch '3.1.x'

This commit is contained in:
Marc Alexander
2015-04-26 09:24:09 +02:00
2 changed files with 4 additions and 0 deletions

View File

@@ -219,6 +219,8 @@ class filespec
*/
static public function get_extension($filename)
{
$filename = utf8_basename($filename);
if (strpos($filename, '.') === false)
{
return '';