Empty commit

This commit is contained in:
Git 2014-04-11 08:00:49 +00:00
parent 00e1b65892
commit f544294c3a
2 changed files with 2 additions and 1 deletions

View File

@ -82,6 +82,7 @@ class UserAgent {
'win95' => 'Windows 95',
'win16' => 'Windows 3.1',
//'windows' => 'Windows',
'cros' => 'Chrome OS',
//OS X
'os x' => 'Mac OS X',
'macintosh' => 'Mac OS X',

View File

@ -1,5 +1,5 @@
<?
if (empty($_GET['id']) || !is_numeric($_GET['id']) || (!empty($_GET['preview']) && !is_numeric($_GET['preview']))) {
if (empty($_GET['id']) || !is_number($_GET['id']) || (!empty($_GET['preview']) && !is_number($_GET['preview']))) {
error(404);
}
$UserID = $_GET['id'];