mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-30 14:08:46 +02:00
Customer portal : Updated object form manager to check if an AttributeType has the necessary API to be used in a form (instead of the temporary array enumerating available types)
SVN:trunk[4184]
This commit is contained in:
@@ -266,7 +266,7 @@ class ObjectController extends AbstractController
|
||||
public function CreateFromFactoryAction(Request $oRequest, Application $oApp, $sObjectClass, $sObjectId, $sEncodedMethodName)
|
||||
{
|
||||
$sMethodName = base64_decode($sEncodedMethodName);
|
||||
|
||||
|
||||
// Checking that the factory method is valid
|
||||
if (!is_callable($sMethodName))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user