fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [16122] allow local call to method


From: sigurdne
Subject: [Fmsystem-commits] [16122] allow local call to method
Date: Thu, 29 Dec 2016 16:07:53 +0000 (UTC)

Revision: 16122
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=16122
Author:   sigurdne
Date:     2016-12-29 16:07:53 +0000 (Thu, 29 Dec 2016)
Log Message:
-----------
allow local call to method

Modified Paths:
--------------
    trunk/phpgwapi/inc/class.uicommon.inc.php

Modified: trunk/phpgwapi/inc/class.uicommon.inc.php
===================================================================
--- trunk/phpgwapi/inc/class.uicommon.inc.php   2016-12-29 15:53:40 UTC (rev 
16121)
+++ trunk/phpgwapi/inc/class.uicommon.inc.php   2016-12-29 16:07:53 UTC (rev 
16122)
@@ -141,8 +141,10 @@
                        {
                                if($object->store($object))
                                {
-                                       $this->_handle_files($object->get_id());
+                                       $class_info = explode('_', 
get_class($object), 2);
 
+                                       $this->_handle_files($class_info[0], 
$class_info[1], $object->get_id());
+
                                        if($ajax)
                                        {
                                                
phpgwapi_cache::session_clear('phpgwapi', 'phpgw_messages');




reply via email to

[Prev in Thread] Current Thread [Next in Thread]