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

I got carried away with sorting things #397

Closed
wants to merge 4 commits into from

Conversation

bbannon
Copy link
Contributor

@bbannon bbannon commented Aug 17, 2023

Move doclist.php back to the front

@@ -31,10 +31,10 @@
require_once 'includes/validate.php';

// Load Doc classes for attachments and comments
require_once 'includes/classes/Doc.php';
require_once 'includes/classes/DocList.php';
Copy link
Owner

@craigk5n craigk5n Aug 31, 2023

Choose a reason for hiding this comment

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

We had a bug report about this order: #392

DocList requires Doc before it, right?

@bbannon
Copy link
Contributor Author

bbannon commented Aug 31, 2023 via email

@craigk5n
Copy link
Owner

craigk5n commented Sep 5, 2023

The problem in DocList.php is this line:

    $sql = Doc::getSQL ( $event_id, $type );

This requires Doc.php to be loaded first.

@bbannon
Copy link
Contributor Author

bbannon commented Sep 5, 2023 via email

@bbannon
Copy link
Contributor Author

bbannon commented Sep 5, 2023 via email

@bbannon bbannon closed this Sep 7, 2023
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.

2 participants