mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Complete API for recurring transactions.
This commit is contained in:
@@ -72,7 +72,7 @@ class CategoryFactory
|
||||
|
||||
Log::debug(sprintf('Going to find category with ID %d and name "%s"', $categoryId, $categoryName));
|
||||
|
||||
if (\strlen($categoryName) === 0 && $categoryId === 0) {
|
||||
if ('' === $categoryName && $categoryId === 0) {
|
||||
return null;
|
||||
}
|
||||
// first by ID:
|
||||
|
||||
Reference in New Issue
Block a user