File tree Expand file tree Collapse file tree
modules/servers/onappusers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ The OnApp Users module for WHMCS allows you to operate (creating/suspending/dele
55Please visit our [ wiki] ( https://github.com/OnApp/OnApp-WHMCS-UsersModule/wiki ) for detailed instructions _ (updated on ** 23 of July 2014** )_ .
66
77## Changelog:
8+ ####v3.8.15
9+ - fix support issues
10+
811####v3.8.14
912- fix support issues
1013
@@ -47,10 +50,10 @@ Please visit our [wiki](https://github.com/OnApp/OnApp-WHMCS-UsersModule/wiki) f
4750
4851####v3.8.1
4952 - add the ability to set OnApp User ID
50-
53+
5154####v3.8.0
5255 - fix Naming conflict
53-
56+
5457####v3.7.5
5558 - fix due date bug
5659
@@ -73,7 +76,7 @@ Please visit our [wiki](https://github.com/OnApp/OnApp-WHMCS-UsersModule/wiki) f
7376####v3.6.0
7477 - WHMCS 7 compatibility
7578 - fix support issues
76-
79+
7780####v3.4.0
7881 - fix URL handling in payment hook
7982
Original file line number Diff line number Diff line change 1212 $ sql = preg_split ('/(\r\n\r\n|\n\n)/ ' , $ sql );
1313
1414 foreach ($ sql as $ qry ) {
15+ if (trim ($ qry ) == '' ){
16+ continue ;
17+ }
18+
1519 full_query ($ qry );
1620 }
1721
@@ -64,8 +68,8 @@ function onappusers_ConfigOptions()
6468 LEFT JOIN
6569 `tblservergroups` AS grp ON grp.`id` = rel.`groupid`
6670 WHERE
67- grp.`id` = :servergroup AND
68- srv.`disabled` = 0 AND
71+ grp.`id` = :servergroup AND
72+ srv.`disabled` = 0 AND
6973 srv.`type` = \':type \'' ;
7074 $ sql = str_replace (':servergroup ' , $ serverGroup , $ sql );
7175 $ sql = str_replace (':type ' , OnApp_UserModule::MODULE_NAME , $ sql );
@@ -665,11 +669,11 @@ function onappusers_AdminServicesTabFieldsSave($params)
665669 'billing_type ' => $ module ->getBillingType (),
666670 ));
667671 } else {
668- $ sql = "UPDATE
669- tblonappusers
670- SET
671- onapp_user_id = " . $ onAppUserIDNew . "
672- WHERE
672+ $ sql = "UPDATE
673+ tblonappusers
674+ SET
675+ onapp_user_id = " . $ onAppUserIDNew . "
676+ WHERE
673677 server_id = $ serverID AND
674678 client_id = " . $ clientsDetails ['userid ' ] . " AND
675679 service_id = $ serviceID " ;
Original file line number Diff line number Diff line change 1- 3.8.14
1+ 3.8.15
You can’t perform that action at this time.
0 commit comments