File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -96,17 +96,18 @@ public static function handle_manipulation($manipulation)
96
96
];
97
97
98
98
foreach ($ manipulation as $ table => $ details ) {
99
- if (!in_array ($ details ['command ' ], array ( 'update ' , 'insert ' ) )) {
99
+ if (!in_array ($ details ['command ' ], [ 'update ' , 'insert ' ] )) {
100
100
continue ;
101
101
}
102
102
103
103
// logging writes to specific tables (just not when logging in, as it's noise)
104
104
if (in_array ($ table , $ watchedTables )
105
105
&& !preg_match ('/Security/ ' , @$ _SERVER ['REQUEST_URI ' ])
106
+ && isset ($ details ['id ' ])
106
107
) {
107
108
$ className = $ schema ->tableClass ($ table );
108
109
109
- $ data = $ className ::get ()->byId ($ details ['id ' ]);
110
+ $ data = $ className ::get ()->byID ($ details ['id ' ]);
110
111
if (!$ data ) {
111
112
continue ;
112
113
}
You can’t perform that action at this time.
0 commit comments