Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix condition
  • Loading branch information
caleeli committed Feb 9, 2024
commit d2dd5977072ca789a99a8502f8dafad197324117
2 changes: 1 addition & 1 deletion ProcessMaker/Http/Controllers/RequestController.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function index($type = null)
$userFilter = SaveSession::getConfigFilter('requestFilter', Auth::user());

// Get default Saved search config
if (!class_exists(SavedSearch::class)) {
if (class_exists(SavedSearch::class)) {
$defaultSavedSearch = SavedSearch::firstSystemSearchFor(
Comment thread
devmiguelangel marked this conversation as resolved.
Resolved

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

When package is not installed is calling to SavedSearch::firstSystemSearchFor method, that method is in the package

Auth::user(),
SavedSearch::KEY_REQUESTS,
Expand Down
2 changes: 1 addition & 1 deletion ProcessMaker/Http/Controllers/TaskController.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function index()
$userFilter = SaveSession::getConfigFilter('taskFilter', Auth::user());

// Get default Saved search config
if (!class_exists(SavedSearch::class)) {
if (class_exists(SavedSearch::class)) {
$defaultSavedSearch = SavedSearch::firstSystemSearchFor(
Auth::user(),
SavedSearch::KEY_TASKS,
Expand Down