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:
@@ -189,6 +189,10 @@
|
||||
break;
|
||||
|
||||
case "file":
|
||||
if(empty($value))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
return ($raw) ? $tp->toFile($value, array('raw'=>1)) : $tp->toFile($value);
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user