diff options
author | cookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8> | 2008-12-28 16:07:20 +0000 |
---|---|---|
committer | cookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8> | 2008-12-28 16:07:20 +0000 |
commit | d2b7899c6046c7c5b0f6c787c316bc3cfb0ebf67 (patch) | |
tree | 64e8f77e4940978dd49f1413189c9efc8ab1320b /includes | |
parent | 4621bbd289a2e0696531163de7eefa8e6f62e874 (diff) |
append user flags for DECT calls
git-svn-id: svn://svn.cccv.de/engel-system@332 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'includes')
-rwxr-xr-x | includes/funktion_user.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/includes/funktion_user.php b/includes/funktion_user.php index cce7d5af..bcb77778 100755 --- a/includes/funktion_user.php +++ b/includes/funktion_user.php @@ -27,7 +27,10 @@ function TID2Type($TID) $SQL = "SELECT Name FROM `EngelType` WHERE TID='$TID'"; $Erg = mysql_query($SQL, $con); - return mysql_result($Erg, 0); + if( mysql_num_rows($Erg)) + return mysql_result($Erg, 0); + else + return ""; } |