@@ -2673,7 +2673,7 @@ protected function klientadd($formdef_file, $reseller_id, $params)
26732673 protected function insertQuery ($ formdef_file , $ client_id , $ params ,$ event_identifier = '' )
26742674 {
26752675 $ sql = $ this ->insertQueryPrepare ($ formdef_file , $ client_id , $ params );
2676- if ($ sql !== false ) return $ this ->insertQueryExecute ($ sql , $ params ,$ event_identifier = '' );
2676+ if ($ sql !== false ) return $ this ->insertQueryExecute ($ sql , $ params ,$ event_identifier );
26772677 else return false ;
26782678 }
26792679
@@ -2695,7 +2695,7 @@ protected function insertQueryPrepare($formdef_file, $client_id, $params)
26952695 $ this ->server ->fault ('data_processing_error ' , $ app ->remoting_lib ->errorMessage );
26962696 return false ;
26972697 }
2698-
2698+ $ app -> log ( ' Executed insertQueryPrepare ' , LOGLEVEL_DEBUG );
26992699 return $ sql ;
27002700 }
27012701
@@ -2717,7 +2717,7 @@ protected function insertQueryExecute($sql, $params,$event_identifier = '')
27172717 // set a few values for compatibility with tform actions, mostly used by plugins
27182718 $ this ->id = $ insert_id ;
27192719 $ this ->dataRecord = $ params ;
2720-
2720+ $ app -> log ( ' Executed insertQueryExecute, raising events now if any: ' . $ event_identifier , LOGLEVEL_DEBUG );
27212721 if ($ event_identifier != '' ) $ app ->plugin ->raiseEvent ($ event_identifier ,$ this );
27222722
27232723 //$app->uses('tform');
@@ -2734,7 +2734,7 @@ protected function updateQuery($formdef_file, $client_id, $primary_id, $params,
27342734 global $ app ;
27352735
27362736 $ sql = $ this ->updateQueryPrepare ($ formdef_file , $ client_id , $ primary_id , $ params );
2737- if ($ sql !== false ) return $ this ->updateQueryExecute ($ sql , $ primary_id , $ params ,$ event_identifier = '' );
2737+ if ($ sql !== false ) return $ this ->updateQueryExecute ($ sql , $ primary_id , $ params ,$ event_identifier );
27382738 else return false ;
27392739 }
27402740
0 commit comments