Browse Source

Fixed return value for copy_session(): now returning the new session ID (BT#1916)

ywarnier 14 năm trước cách đây
mục cha
commit
48bd2bfe13
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      main/inc/lib/sessionmanager.lib.php

+ 1 - 1
main/inc/lib/sessionmanager.lib.php

@@ -1358,6 +1358,6 @@ class SessionManager {
             $res = self::suscribe_users_to_session($sid, $short_users, 1, true, false);
             $short_users = null;
         }
-    	return true;
+    	return $sid;
     }
 }