Skip to content

Commit f140f55

Browse files
author
Smef
authored
Merge pull request #23 from BlueFeatherGroup/fix-layout-name-in-missing-exception
Use the computed layout name instead of the base layout name
2 parents 95d4b78 + c392c4a commit f140f55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Services/FileMakerConnection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ protected function checkResponseForErrors($response)
125125
case 105:
126126
// Layout is missing error
127127
// Add the layout name to the message for clarity
128-
$message = $message['message'] . ": " . $this->layout;
128+
$message = $message['message'] . ": " . $this->getLayout();
129129
throw new FileMakerDataApiException($message, $code);
130130
default:
131131
throw new FileMakerDataApiException($message['message'], $code);

0 commit comments

Comments
 (0)