[opw-web] Another fixup



commit 5a4f335ab953fe1da50f45848fecff9d77c2da62
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Sat Mar 8 22:02:51 2014 -0500

    Another fixup

 modules/mod_view_projects.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/modules/mod_view_projects.php b/modules/mod_view_projects.php
index 091a8cf..e9fe568 100644
--- a/modules/mod_view_projects.php
+++ b/modules/mod_view_projects.php
@@ -68,7 +68,7 @@ if ($project_id > 0)
            "AND prj.is_accepted = 1))";
     $owner_count = $db->query($sql,
                               array('project_id' => $project_id,
-                                    'username' => $username),
+                                    'username' => $user->username),
                               true);
 
     $is_owner = $owner_count['count'] > 0;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]