Skip to content

Commit

Permalink
Turning off fairly useless error log entry
Browse files Browse the repository at this point in the history
  • Loading branch information
jegelstaff committed Jun 18, 2024
1 parent bf35caa commit 7f7575e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/formulize/include/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -4021,9 +4021,10 @@ function formulize_writeEntry($values, $entry_id="new", $action="replace", $prox
return $result;
} else {
if($result !== null) {
exit("Error: data could not be written to the database for entry $entry_id in form ". $elementObject->getVar('id_form').".");
exit("Error: data could not be written to the database for entry $entry_id in form ". $elementObject->getVar('id_form').".");
} else {
error_log('Formulize Notice: Nothing written for entry "'.$entry_id.'" presumably because the passed in values are unchanged from the saved values.');
// This really clutters up the error logs, because it's quite normal anytime someone doesn't make any changes! But we may want to do something else in this eventuality so we'll keep the 'else' here, at least so it's clear what happens/has happened at this point.
// error_log('Formulize Notice: Nothing written for entry "'.$entry_id.'" presumably because the passed in values are unchanged from the saved values.');
}
}
} else {
Expand Down

0 comments on commit 7f7575e

Please sign in to comment.