Merge lp:~edb/quam-plures/navbar_workflow_fix into lp:quam-plures
Proposed by
EdB
Status: | Merged |
---|---|
Merged at revision: | 7594 |
Proposed branch: | lp:~edb/quam-plures/navbar_workflow_fix |
Merge into: | lp:quam-plures |
Diff against target: |
53 lines (+24/-11) 1 file modified
qp_inc/_core/__core.init.php (+24/-11) |
To merge this branch: | bzr merge lp:~edb/quam-plures/navbar_workflow_fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Yabs (community) | Approve | ||
Review via email: mp+45617@code.launchpad.net |
Description of the change
Removes a tiny little "bug": when workflow is not enabled we still get a navbar option for "post statuses", but that feature only comes into play when workflow is enabled. This branch does a check before adding that option to the navbar.
To post a comment you must log in.
if( $Blog
Needs to be :
if( !empty( $Blog )
Although, ideally, we'd actually check if it was an instance of the blog class, which we don't do anywhere in the core AFAIK.
¥