Passed
Push — v3.0 ( ee545b...afe0c2 )
by Samir
152:57 queued 117:51
created
astpp/application/modules/package/views/view_import_package_code.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
 							foreach($csv_value as $field_name => $field_val){
105 105
 								if($csv_key == 0){
106 106
 									echo "<th>".ucfirst($field_name)."</th>";
107
-								}else{
107
+								} else{
108 108
 									echo "<td class='portlet-content'>".$field_val."</td>";   
109 109
 								}
110 110
 							}
Please login to merge, or discard this patch.
astpp/application/modules/freeswitch/views/view_fs_freeswitch_execute.php 1 patch
Braces   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,10 @@
 block discarded – undo
40 40
 		  <select class="form-control" name="host_id" id="host_id">
41 41
   		      <?php
42 42
 				foreach($fs_data as $name) { ?>
43
-     			 <option value="<?= $name['id'] ?>"<?php if(isset($host_id) && ($name['id'] == $host_id))echo 'selected';?>><?= $name['freeswitch_host'] ?></option>
43
+     			 <option value="<?= $name['id'] ?>"<?php if(isset($host_id) && ($name['id'] == $host_id)) {
44
+	echo 'selected';
45
+}
46
+?>><?= $name['freeswitch_host'] ?></option>
44 47
   			  <?php
45 48
 				  } ?>
46 49
 		   </select>
Please login to merge, or discard this patch.
astpp/application/modules/refill_coupon/libraries/refill_coupon_form.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,8 +20,9 @@
 block discarded – undo
20 20
 # You should have received a copy of the GNU Affero General Public License
21 21
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
22 22
 ###############################################################################
23
-if (!defined('BASEPATH'))
23
+if (!defined('BASEPATH')) {
24 24
 	exit('No direct script access allowed');
25
+}
25 26
 
26 27
 class Refill_coupon_form {
27 28
 	function __construct($library_name = '') {
Please login to merge, or discard this patch.
web_interface/astpp/application/controllers/lowbalance.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,9 @@
 block discarded – undo
25 25
 	function __construct()
26 26
 	{
27 27
 	parent::__construct();
28
-	if(!defined( 'CRON' ) )  
29
-	  exit();
28
+	if(!defined( 'CRON' ) ) {
29
+		  exit();
30
+	}
30 31
 		$this->load->model("db_model");
31 32
 		$this->load->library("astpp/common");
32 33
 	}
Please login to merge, or discard this patch.
web_interface/astpp/application/controllers/broadcastemail.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,9 @@
 block discarded – undo
25 25
 	function __construct()
26 26
 	{
27 27
 	parent::__construct();
28
-	if(!defined( 'CRON' ) )  
29
-	  exit();
28
+	if(!defined( 'CRON' ) ) {
29
+		  exit();
30
+	}
30 31
 		$this->load->model("db_model");
31 32
 		$this->load->library("astpp/email_lib");
32 33
 	}
Please login to merge, or discard this patch.
web_interface/astpp/application/config/config.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (!defined('BASEPATH'))
3
+if (!defined('BASEPATH')) {
4 4
 	exit('No direct script access allowed');
5
+}
5 6
 
6 7
 /*
7 8
   |--------------------------------------------------------------------------
Please login to merge, or discard this patch.
web_interface/astpp/application/language/english/menu_lang.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@
 block discarded – undo
1
-<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
1
+<?php if ( ! defined('BASEPATH')) {
2
+	exit('No direct script access allowed');
3
+}
2 4
 //Main Menu
3 5
 $lang['Home'] = 'Home';
4 6
 $lang['Global Accounts'] = 'Global Accounts';
Please login to merge, or discard this patch.
web_interface/astpp/application/language/english/footer_lang.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,3 +1,5 @@
 block discarded – undo
1
-<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
1
+<?php if ( ! defined('BASEPATH')) {
2
+	exit('No direct script access allowed');
3
+}
2 4
 $lang['FOOTER.FOOTER'] = 'Copyright &copy; 2003 - 2012. ASTPP - Open Source VOIP Billing Solution. All Rights Reserved.';
3 5
 ?>
Please login to merge, or discard this patch.
web_interface/astpp/application/language/spanish/menu_lang.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@
 block discarded – undo
1
-<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
1
+<?php if ( ! defined('BASEPATH')) {
2
+	exit('No direct script access allowed');
3
+}
2 4
 //Main Menu
3 5
 $lang['Home'] = 'Casa';
4 6
 $lang['Global Accounts'] = 'cuentas globales';
Please login to merge, or discard this patch.