We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In line 332
friendica/src/Database/DBStructure.php
Lines 331 to 333 in f67cf4e
if (isset($database[$name]["table_status"]["Comment"])) { $structurecomment = isset($structure["comment"]) ? $structure["comment"] : ""; if ($database[$name]["table_status"]["Comment"] != $structurecomment) { $sql2 = "COMMENT = '".DBA::escape($structurecomment)."'";
The text was updated successfully, but these errors were encountered:
Related to #5932
Sorry, something went wrong.
Could you check whether your addon does contain comment fields at all? All core tables do have these fields.
My addon does not contains "comments" field: https://kirgroup.com/projects/fabrixxm/friendica-projects/tree/master/projects.php#L2319
I could add it, but I think a better approach is to be prepared for it to be missing. either:
dbstructure: check for comment value or use default
c13e078
fix friendica#6119
Successfully merging a pull request may close this issue.
In line 332
friendica/src/Database/DBStructure.php
Lines 331 to 333 in f67cf4e
I didn't check, could be an issue with my addon. Nevertheless the code should check the index before accessing it.
Something like:
The text was updated successfully, but these errors were encountered: