From adda4f81b17bc37939dcc4a8ffb5dab9338f6660 Mon Sep 17 00:00:00 2001 From: patdenice Date: Sun, 28 Mar 2010 13:25:45 +0000 Subject: feature 1502: Wrong path corrected (to check themeconf.inc.php existence) git-svn-id: http://piwigo.org/svn/trunk@5419 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/functions.inc.php') diff --git a/include/functions.inc.php b/include/functions.inc.php index b31a074a0..7519c3239 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -694,7 +694,7 @@ SELECT $result = pwg_query($query); while ($row = pwg_db_fetch_assoc($result)) { - if (file_exists($conf['themes_dir'].'/'.$row['name'].'/'.'themeconf.inc.php')) + if (file_exists($conf['themes_dir'].'/'.$row['id'].'/'.'themeconf.inc.php')) { $themes[ $row['id'] ] = $row['name']; } -- cgit v1.2.3