1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-17 20:01:47 +02:00

Improved e_CURRENT_PLUGIN detection when using SEF-URLs and other minor path fixes.

This commit is contained in:
Cameron
2015-04-03 18:42:27 -07:00
parent 71961be7af
commit 619b40b2e3
7 changed files with 44 additions and 35 deletions

View File

@@ -3440,8 +3440,15 @@ class e_form
$value = e107::unserialize($value); // (saved as array, return it as an array)
}
$value = call_user_func_array(array($this, $method), array($value, 'read', $parms));
if(method_exists($this,$method))
{
$value = call_user_func_array(array($this, $method), array($value, 'read', $parms));
}
else
{
return "<span class='label label-important'>Missing: ".$method."()</span>";
}
// print_a($attributes);
// Inline Editing.
if(!vartrue($attributes['noedit']) && vartrue($parms['editable'])) // avoid bad markup, better solution coming up