Skip to content

Commit 5f0152e

Browse files
committed
Fixed: FS#634 - Stats
1 parent 5318326 commit 5f0152e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

interface/lib/classes/tform.inc.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -865,6 +865,8 @@ function getSQL($record, $tab, $action = 'INSERT', $primary_id = 0, $sql_ext_whe
865865
$app->error("Primary ID fehlt!");
866866
}
867867
}
868+
//* return a empty string if there is nothing to update
869+
if(trim($sql_update) == '') $sql = '';
868870
}
869871

870872
return $sql;

0 commit comments

Comments
 (0)