File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 "squizlabs/php_codesniffer" : " 3.7.1"
1111 },
1212 "require" : {
13- "inceptphp/framework" : " 0.1.10 " ,
14- "phpugph/storm" : " 1.0.3 " ,
13+ "inceptphp/framework" : " 0.1.11 " ,
14+ "phpugph/storm" : " 1.0.4 " ,
1515 "swiftmailer/swiftmailer" : " 6.2.7" ,
1616 "dejan7/httpquest" : " 0.3.0" ,
1717 "robthree/twofactorauth" : " 1.8.2" ,
Original file line number Diff line number Diff line change 4545 //get the primary name
4646 $ primary = $ schema ->getPrimaryName ();
4747 //get the detail
48- $ detail = $ this ('event ' )->call ('system-object-detail ' , [
49- 'schema ' => $ name ,
50- $ primary => $ response ->getResults ()
51- ]);
48+ $ detail = $ response ->getResults ();
5249
5350 //create the history
5451 $ this ('event ' )->call ('system-object-history-create ' , [
5552 'history_action ' => 'created ' ,
5653 'history_object ' => $ name ,
57- 'history_primary ' => $ response -> getResults () ,
54+ 'history_primary ' => $ detail [ $ primary ] ,
5855 'history_to ' => $ detail ,
5956 'profile_id ' => $ profile
6057 ]);
You can’t perform that action at this time.
0 commit comments