1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 14:46:56 +02:00

Use "Custom Fields" for the tab in "Pages". Fix for type=file returning a bad URL.

This commit is contained in:
Cameron
2018-08-14 18:12:01 -07:00
parent 5cbe8df761
commit 97ce92c8ab
3 changed files with 6 additions and 2 deletions

View File

@@ -189,6 +189,10 @@
break;
case "file":
if(empty($value))
{
return null;
}
return ($raw) ? $tp->toFile($value, array('raw'=>1)) : $tp->toFile($value);
break;