@@ -, +, @@ DBD::mysql::st execute failed: Incorrect integer value: '' for column 'layout_id' at row 1 - Turn on sql_strict_modes - Create a new patron card --- C4/Creators/Layout.pm | 1 + 1 file changed, 1 insertion(+) --- a/C4/Creators/Layout.pm +++ a/C4/Creators/Layout.pm @@ -165,6 +165,7 @@ sub save { } else { # otherwise create a new record my @params; + delete $self->{layout_id}; # Could be an empty string my $query = "INSERT INTO creator_layouts ("; foreach my $key (keys %{$self}) { push (@params, $self->{$key}); --