Fixing issues found by Roly and me
This commit is contained in:
@@ -6804,7 +6804,7 @@ class ProcessMap
|
||||
return $aIDocs;
|
||||
}
|
||||
|
||||
public function getMaximunTaskX($processUid)
|
||||
public static function getMaximunTaskX($processUid)
|
||||
{
|
||||
$criteria = new Criteria('workflow');
|
||||
$criteria->addSelectColumn('MAX(TAS_POSX) AS MAX_X');
|
||||
|
||||
@@ -775,7 +775,7 @@ class ReportTables
|
||||
* @access public
|
||||
* @return boolean
|
||||
*/
|
||||
public function tableExist()
|
||||
public static function tableExist()
|
||||
{
|
||||
$bExists = true;
|
||||
|
||||
|
||||
@@ -352,7 +352,7 @@ trait PluginStructure
|
||||
$valueField = [];
|
||||
if ((array_key_exists($name, $fieldsInTable) && $fieldsInTable[$name])) {
|
||||
foreach ($fieldsInTable[$name] as $index => $item) {
|
||||
if (method_exists($item, 'getAttributes')) {
|
||||
if (is_object($item) && method_exists($item, 'getAttributes')) {
|
||||
$valueField[$index] = $item->getAttributes();
|
||||
} else {
|
||||
$valueField[$index] = $item;
|
||||
|
||||
Reference in New Issue
Block a user