[art-web] Fix typos
- From: Thomas Wood <thos src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [art-web] Fix typos
- Date: Sat, 31 Oct 2009 23:00:17 +0000 (UTC)
commit 0c817ab43259d5dd72a3ef0ad39787f2154a66cf
Author: Thomas Wood <thos gnome org>
Date: Sat Oct 31 23:01:36 2009 +0000
Fix typos
controllers/backgrounds.php | 4 ++--
controllers/themes.php | 4 ++--
download | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/controllers/backgrounds.php b/controllers/backgrounds.php
index 580350d..a6aba3c 100644
--- a/controllers/backgrounds.php
+++ b/controllers/backgrounds.php
@@ -27,12 +27,12 @@ $bg = new BackgroundsModel();
preg_match ('/^\/backgrounds\/(abstract|gnome|nature|other|search)\/?([0-9]+)?$/', $_SERVER['PHP_SELF'], $params);
-if (array_key_exists (1, $params)
+if (array_key_exists (1, $params))
$category = $params[1];
else
$category = '';
-if (array_key_exists (2, $params)
+if (array_key_exists (2, $params))
$background_id = $params[2];
else
$background_id = 0;
diff --git a/controllers/themes.php b/controllers/themes.php
index 456bda3..4cff0d1 100644
--- a/controllers/themes.php
+++ b/controllers/themes.php
@@ -28,12 +28,12 @@ $themes = new ThemesModel();
preg_match ('/^\/themes\/(gtk2|metacity|icon|gdm_greeter|splash_screens|gtk_engines|search)\/?([0-9]+)?$/',
$_SERVER['PHP_SELF'], $params);
-if (array_key_exists (1, $params)
+if (array_key_exists (1, $params))
$category = $params[1];
else
$category = '';
-if (array_key_exists (2, $params)
+if (array_key_exists (2, $params))
$theme_id = $params[2];
else
$theme_id = 0;
diff --git a/download b/download
index fa4343f..9159be9 100644
--- a/download
+++ b/download
@@ -4,7 +4,7 @@ require("mysql.inc.php");
require("common.inc.php");
// superglobal stuff
-if (array_key_exists ('PATH_INFO', request))
+if (array_key_exists ('PATH_INFO', $request))
$request = $_SERVER['PATH_INFO'];
else
$request = '';
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]