aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/cron/task/parametrized.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2013-07-06 12:59:26 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2013-07-06 12:59:26 -0500
commit9f85a4d118544e6097005ea3ef37e1e627838278 (patch)
tree338967c44b8acdb502444de47dc3a3f2711faf9d /phpBB/phpbb/cron/task/parametrized.php
parentbdaa40bb550c18f9c7feb4e2448a31a53e2a5bd2 (diff)
downloadforums-9f85a4d118544e6097005ea3ef37e1e627838278.tar
forums-9f85a4d118544e6097005ea3ef37e1e627838278.tar.gz
forums-9f85a4d118544e6097005ea3ef37e1e627838278.tar.bz2
forums-9f85a4d118544e6097005ea3ef37e1e627838278.tar.xz
forums-9f85a4d118544e6097005ea3ef37e1e627838278.zip
[ticket/11420] Use !==, === when comparing strings
PHPBB3-11420
Diffstat (limited to 'phpBB/phpbb/cron/task/parametrized.php')
0 files changed, 0 insertions, 0 deletions
ed under the License is distributed on an "AS # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or # implied. See the License for the specific language governing # rights and limitations under the License. # # The Original Code is the Bugzilla Bug Tracking System. # # The Initial Developer of the Original Code is Netscape Communications # Corporation. Portions created by Netscape are # Copyright (C) 1998 Netscape Communications Corporation. All # Rights Reserved. # # Contributor(s): Terry Weissman <terry@mozilla.org> use strict; use lib qw(. lib); use Bugzilla; use Bugzilla::Constants; use Bugzilla::Error; use Bugzilla::User; use Bugzilla::Keyword; use Bugzilla::Bug; my $cgi = Bugzilla->cgi; my $template = Bugzilla->template; my $vars = {}; my $user = Bugzilla->login(); # Editable, 'single' HTML bugs are treated slightly specially in a few places my $single = !$cgi->param('format') && (!$cgi->param('ctype') || $cgi->param('ctype') eq 'html'); # If we don't have an ID, _AND_ we're only doing a single bug, then prompt if (!$cgi->param('id') && $single) { print Bugzilla->cgi->header(); $template->process("bug/choose.html.tmpl", $vars) || ThrowTemplateError($template->error()); exit; }