diff options
author | AndreaChirulescu <andrea.chirulescu@gmail.com> | 2021-04-11 23:10:40 +0200 |
---|---|---|
committer | AndreaChirulescu <andrea.chirulescu@gmail.com> | 2021-04-11 23:10:40 +0200 |
commit | 57d16c7273031910f321ffeb776168f8e5838ea4 (patch) | |
tree | d56b33bb2bfb5cd62fc9817763fc99f7034215b6 /includes/band.php | |
parent | 50ab799d1789d666dc1bea546701bc0ee8f8bc31 (diff) | |
download | gigologadmin-57d16c7273031910f321ffeb776168f8e5838ea4.tar.gz gigologadmin-57d16c7273031910f321ffeb776168f8e5838ea4.tar.bz2 gigologadmin-57d16c7273031910f321ffeb776168f8e5838ea4.zip |
Fixed capital IFs and hopefully formatting issues
Diffstat (limited to 'includes/band.php')
-rw-r--r-- | includes/band.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/band.php b/includes/band.php index 72af425..357a40c 100644 --- a/includes/band.php +++ b/includes/band.php @@ -13,7 +13,7 @@ * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ if ( !class_exists('GiglogAdmin_Band') ) { @@ -37,7 +37,7 @@ if ( !class_exists('GiglogAdmin_Band') ) { global $wpdb; if(empty($country)) $country = 'NO'; $bandsql = 'SELECT id FROM wpg_bands WHERE upper(wpgband_name)="' . $name . '"'; - $results = $wpdb->get_results($bandsql); + $results = $wpdb->get_results($bandsql); return $results ? $results[0]->id : GiglogAdmin_Band::create($name, $country); } @@ -50,7 +50,7 @@ if ( !class_exists('GiglogAdmin_Band') ) { return ($results); } - + static function all_countries() { global $wpdb; |