yms/yms.php
changeset 8 be4a5f24bb29
parent 6 c1b4f69c187e
child 9 d58bafde2a92
--- a/yms/yms.php	Fri Aug 20 01:43:08 2010 -0400
+++ b/yms/yms.php	Mon Nov 24 15:11:44 2014 -0500
@@ -7,7 +7,7 @@
   global $output;
   global $yms_client_id;
   
-  $yms_client_id = $session->user_id;
+  $yms_client_id = ($force_cid = getConfig('yms_force_client_id', 0)) > 0 ? intval($force_cid) : $session->user_id;
   
   // Require re-auth?
   if ( $session->auth_level < USER_LEVEL_CHPREF && getConfig('yms_require_reauth', 1) == 1 )