diff options
Diffstat (limited to 'zoom.php')
-rw-r--r-- | zoom.php | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -79,7 +79,8 @@ function getBranchPeople($params) $tmp = array(); foreach ( $ret_tmp as $r ) { if (isset($r['aclOrder']['commit']['statuscode']) - && $r['aclOrder']['commit']['statuscode']==3) { + && $r['aclOrder']['commit']['statuscode']==3 + ) { $tmp[] = $r['username']; } } @@ -94,7 +95,7 @@ if ( !isset($name) || !$name ) { $smarty->assign('error', 'missing_name'); } else { try { - $db = new PDO ("mysql:dbname=" . MYBASE . ";host=" . MYHOST, MYUSER, MYPASS); + $db = new PDO("mysql:dbname=" . MYBASE . ";host=" . MYHOST, MYUSER, MYPASS); $uptable = new TableUpstream($db); @@ -190,8 +191,9 @@ if ( !isset($name) || !$name ) { } $rpm->askpkgdb = false; if ($rpm->active - && (substr($rpm->repo_main,0,1)=='f' - || substr($rpm->repo_sub,0,4)=='epel')) { + && (substr($rpm->repo_main, 0, 1) == 'f' + || substr($rpm->repo_sub, 0, 4) == 'epel') + ) { $rpm->askpkgdb = true; } $packages[] = $rpm; |