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

smarty notice - case dashboard when no upcoming/recent cases #20770

Merged
merged 1 commit into from
Jul 5, 2021

Conversation

demeritcowboy
Copy link
Contributor

Overview

  1. Enable civicase but do not create a case.
  2. Visit the case dashboard.

Before

Notice: Undefined index: upcomingCases in include() (line 88 of .../templates_c/en_US/%%13/137/137BFF47%%DashBoard.tpl.php).
Notice: Undefined index: recentCases in include() (line 109 of .../templates_c/en_US/%%13/137/137BFF47%%DashBoard.tpl.php).

After

Technical Details

You might also see this if there are cases, but you're logged in as someone who doesn't have access to any of the upcoming/recent cases.

Comments

@civibot
Copy link

civibot bot commented Jul 5, 2021

(Standard links)

@civibot civibot bot added the master label Jul 5, 2021
@colemanw
Copy link
Member

colemanw commented Jul 5, 2021

The new version makes a lot more sense.

@monishdeb
Copy link
Member

Jenkins test this please

@colemanw colemanw merged commit 1652d1b into civicrm:master Jul 5, 2021
@demeritcowboy demeritcowboy deleted the smartydash branch July 6, 2021 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants