Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixing refresh

  • Loading branch information...
commit 7b96556437ac31149ec5d4f4423ad1e41d2ae124 1 parent 18f16d7
@NoahY authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 qa-history-layer.php
View
4 qa-history-layer.php
@@ -390,8 +390,8 @@ function user_activity_form() {
// grab the handle of the profile you're looking at
function _user_handle()
{
- preg_match( '#user/([^/]+)#', $this->request, $matches );
- return !empty($matches[1]) ? $matches[1] : null;
+ $handle = preg_replace( '#^user/([^/]+)#', "$1", $this->request );
+ return $handle;
}
function getuserfromhandle($handle) {
require_once QA_INCLUDE_DIR.'qa-app-users.php';
Please sign in to comment.
Something went wrong with that request. Please try again.