Skip to content

Commit

Permalink
Code style
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Jan 9, 2023
1 parent 124c734 commit 72ec467
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/my-calendar-categories.php
Original file line number Diff line number Diff line change
Expand Up @@ -714,8 +714,8 @@ function mc_category_by_name( $string ) {
* @return int|array
*/
function mc_no_category_default( $single = false ) {
$mcdb = mc_is_remote_db();
$cats = $mcdb->get_results( 'SELECT * FROM ' . my_calendar_categories_table() . ' ORDER BY category_name ASC' );
$mcdb = mc_is_remote_db();
$cats = $mcdb->get_results( 'SELECT * FROM ' . my_calendar_categories_table() . ' ORDER BY category_name ASC' );
if ( empty( $cats ) ) {
// need to have categories. Try to create again.
$cat_id = mc_create_category(
Expand Down

0 comments on commit 72ec467

Please sign in to comment.