Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove passing of unused variable #699

Merged
merged 1 commit into from
Dec 26, 2018
Merged

Remove passing of unused variable #699

merged 1 commit into from
Dec 26, 2018

Conversation

drbyte
Copy link
Contributor

@drbyte drbyte commented Dec 25, 2018

In PHP 7.3, calling compact on variables that aren't declared will throw an exception:

[2018-12-25 17:17:23] production.ERROR: ErrorException: compact(): Undefined variable: emails in /app/Http/Controllers/Incomes/Customers.php:32

In PHP 7.3, calling `compact` on variables that aren't declared will throw an exception:

```
[2018-12-25 17:17:23] production.ERROR: ErrorException: compact(): Undefined variable: emails in /app/Http/Controllers/Incomes/Customers.php:32
```
@drbyte
Copy link
Contributor Author

drbyte commented Dec 25, 2018

The build failed because of an apostrophe in the customer name being checked in the test. Re-running the 5.6 build will show it to be fine.

(One could also update the tests to look for the escaped version of the customer name being tested for.)

@cuneytsenturk cuneytsenturk added this to the 1.3.6 milestone Dec 26, 2018
@cuneytsenturk
Copy link
Member

Thanks @drbyte

@cuneytsenturk cuneytsenturk reopened this Dec 26, 2018
@cuneytsenturk cuneytsenturk merged commit a6ccfb6 into akaunting:master Dec 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants