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

Fix for issue #699 #700

Merged
merged 1 commit into from Oct 13, 2017
Merged

Fix for issue #699 #700

merged 1 commit into from Oct 13, 2017

Conversation

jayaich
Copy link
Contributor

@jayaich jayaich commented Oct 12, 2017

Recently modifying 'setup/basic.sql' caused a newline to be added to the file. When 'explode' is used to create an array of DB queries, the last query becomes just the newline - which db_query doesn't like.
Previously a check was made that the line is not empty (""). This commit changes that to check that the line length is more than 1 character.
An alternative fix would be to use (on line 84):
if ( $query !="" && $query != "\n")

@torinfo torinfo merged commit 8a7f8a9 into thexerteproject:develop Oct 13, 2017
@jayaich jayaich deleted the install_fix_for_#699 branch October 27, 2017 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants