diff --git a/webapp/services/NameService.php b/webapp/services/NameService.php index 6a6e9575..1986a60f 100644 --- a/webapp/services/NameService.php +++ b/webapp/services/NameService.php @@ -29,6 +29,16 @@ class NameService extends BaseService { 'key' => '2006' ) ); + if (!empty($row)) { + return true; + } + $row = SqlHelper::ormSelectOne + ($conn, + 't_android', + array( + 'name' => $name, + ) + ); return !empty($row); }