summaryrefslogtreecommitdiff
path: root/watch.php
diff options
context:
space:
mode:
Diffstat (limited to 'watch.php')
-rw-r--r--watch.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/watch.php b/watch.php
index 841317d..63c4cda 100644
--- a/watch.php
+++ b/watch.php
@@ -30,6 +30,9 @@ $currentUser = $userservice->getCurrentObjectUser();
/* Managing path info */
@list($url, $user) = isset($_SERVER['PATH_INFO']) ? explode('/', $_SERVER['PATH_INFO']) : NULL;
+if($user=='' && $_POST['contact'] != '') {
+ $user = $_POST['contact'];
+}
if ($userservice->isLoggedOn() && $user) {
$pagetitle = '';