Skip to content

Commit 3cd263e

Browse files
author
David Ala
committed
Bugfix: Duplicating error #4
1 parent b24e0d4 commit 3cd263e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/option/fields/evasys.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ public static function instance_form_definition(
429429
*/
430430
public static function set_data(&$data, booking_option_settings $settings) {
431431
// Normally, we don't call set data after the first time loading.
432-
if (isset($data->copyoptionid) && !empty($data->copyoptionid)) {
432+
if (isset($data->oldcopyoptionid) && !empty($data->oldcopyoptionid)) {
433433
return;
434434
}
435435
$evasys = new evasys_handler();

0 commit comments

Comments
 (0)