Skip to content

fix: #203 - Replace INFO is wrong syntax and .gitignore#220

Merged
TheWitness merged 2 commits into
developfrom
replace-issues
May 15, 2026
Merged

fix: #203 - Replace INFO is wrong syntax and .gitignore#220
TheWitness merged 2 commits into
developfrom
replace-issues

Conversation

@TheWitness
Copy link
Copy Markdown
Member

@TheWitness TheWitness commented May 15, 2026

Closes: #203

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes a SQL syntax bug where REPLACE INFO was used instead of REPLACE INTO in the weathermap settings save function, and adjusts .gitignore patterns.

Changes:

  • Correct REPLACE INFOREPLACE INTO in three SQL statements in weathermap_setting_save().
  • Update .gitignore to use configs/** and output/** glob patterns.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
weathermap-cacti-plugin-mgmt.php Fixes SQL typo preventing settings from being persisted.
.gitignore Changes ignore patterns from directory form to /** glob form.

@TheWitness TheWitness merged commit 8e0a73a into develop May 15, 2026
0 of 4 checks passed
@TheWitness TheWitness deleted the replace-issues branch May 15, 2026 17:52
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.

Bug: REPLACE INFO typo in weathermap_setting_save() — should be REPLACE INTO

4 participants