diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-04-19 16:01:41 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-04-19 16:01:41 -0400 |
commit | ac86c3100a1030026024c33c1cf02ec79f08ff51 (patch) | |
tree | 9b19c00122c6e405a01e7144072246cff456fe30 /app/Model | |
parent | 392133d9ba27cacab18eac2ab8b10beb846a4cca (diff) |
Add Mailgun integration (incoming emails)
Diffstat (limited to 'app/Model')
-rw-r--r-- | app/Model/Project.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/Model/Project.php b/app/Model/Project.php index 231d57e7..158de295 100644 --- a/app/Model/Project.php +++ b/app/Model/Project.php @@ -68,6 +68,10 @@ class Project extends Base */ public function getByIdentifier($identifier) { + if (empty($identifier)) { + return false; + } + return $this->db->table(self::TABLE)->eq('identifier', strtoupper($identifier))->findOne(); } |