Opened 12 years ago
Closed 12 years ago
#21922 closed defect (bug) (fixed)
Suppress SQL errors on MS blog creation check designed to fail
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.5 | Priority: | normal |
Severity: | normal | Version: | 3.4.2 |
Component: | Multisite | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
In install_blog(), the query that checks for posts and aborts blog creation if it finds any (since the new blog would overwrite an existing blog) is meant to fail since normally, the tables in the query shouldn't exist.
This patch changes the query to a simple DESCRIBE check, and suppresses errors from the statement that is working as designed.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
In [21924]: