code
stringlengths
12
2.05k
label_name
stringlengths
6
8
label
int64
0
95
function render_menu_tabs() { $current_tab = $this->get_current_tab(); echo '<h2 class="nav-tab-wrapper">'; foreach ( $this->menu_tabs as $tab_key => $tab_caption ) { $active = $current_tab == $tab_key ? 'nav-tab-active' : ''; echo '<a class="na...
CWE-79
1
public function delete() { global $db; /* The global constants can be overriden by passing appropriate params */ //sure wish I could do this once in the constructor. sadly $this->params[] isn't set yet // $require_login = empty($this->params['require_login']) ? COMMENTS_REQUIRE_LO...
CWE-89
0
protected function getSubtask() { $subtask = $this->subtaskModel->getById($this->request->getIntegerParam('subtask_id')); if (empty($subtask)) { throw new PageNotFoundException(); } return $subtask; }
CWE-639
9
public function skip($value) { return $this->offset($value); }
CWE-79
1
public function remove() { $this->checkCSRFParam(); $project = $this->getProject(); $action = $this->actionModel->getById($this->request->getIntegerParam('action_id')); if (! empty($action) && $this->actionModel->remove($action['id'])) { $this->flash->success(t('Acti...
CWE-639
9
public function store() { $title = $this->title; if ($title === null || trim($title) === '') { $title = new Expression('NULL'); } $subtitle = $this->subtitle; if ($subtitle === null || trim($subtitle) === '') { $subtitle = new Expression('NULL'); ...
CWE-89
0
public function event() { $project = $this->getProject(); $values = $this->request->getValues(); if (empty($values['action_name']) || empty($values['project_id'])) { return $this->create(); } return $this->response->html($this->template->render('action_creat...
CWE-639
9
public function remove(History $hist, $transaction = true) { global $emitter; try { if ($transaction) { $this->zdb->connection->beginTransaction(); } //remove associated contributions if needeed if ($this->getDispatchedAmount() > ...
CWE-89
0
private function getTaskLink() { $link = $this->taskLinkModel->getById($this->request->getIntegerParam('link_id')); if (empty($link)) { throw new PageNotFoundException(); } return $link; }
CWE-639
9
function db_case($array) { global $DatabaseType; $counter = 0; if ($DatabaseType == 'mysqli') { $array_count = count($array); $string = " CASE WHEN $array[0] ="; $counter++; $arr_count = count($array); for ($i = 1; $i < $arr_count; $i++) { $value = $array[$i]; if ($value == "''" && substr($string, -...
CWE-79
1
function html_show_tabs_left() { global $config, $tabs_left; if (is_realm_allowed(8)) { $show_console_tab = true; } else { $show_console_tab = false; } if (get_selected_theme() == 'classic') { if ($show_console_tab == true) { ?><a <?php print (is_console_page(get_current_page()) ? " id='maintab-anchor" ...
CWE-79
1
public function __construct() { # code... self::$smtphost = Options::v('smtphost'); self::$smtpuser = Options::v('smtpuser'); self::$smtppass = Options::v('smtppass'); self::$smtpport = Options::v('smtpport'); self::$siteemail = Options::v('si...
CWE-89
0
$this->setType('folder'); } // do not allow PHP and .htaccess files if (preg_match("@\.ph(p[\d+]?|t|tml|ps)$@i", $this->getFilename()) || $this->getFilename() == '.htaccess') { $this->setFilename($this->getFilename() . '.txt'); } if(mb_strlen($this->getF...
CWE-502
15
* function my_query_args_filter( $field_query ) { * // your code here * return $field_query; * }
CWE-639
9
private function catchWarning ($errno, $errstr, $errfile, $errline) { $this->error[] = array( 'error' => "Connecting to the POP3 server raised a PHP warning: ", 'errno' => $errno, 'errstr' => $errstr ); }
CWE-79
1
public function show() { $task = $this->getTask(); $subtask = $this->getSubtask(); $this->response->html($this->template->render('subtask_converter/show', array( 'subtask' => $subtask, 'task' => $task, ))); }
CWE-639
9
$va[] = [$k2 => $m[$v2]];
CWE-89
0
public function insert() { global $DB; $ok = $DB->execute(' INSERT INTO nv_menus (id, codename, icon, lid, notes, functions, enabled) VALUES ( 0, :codename, :icon, :lid, :notes, :functions, :enabled)', array( 'codename' => value_or_default($this->codename, ""), 'icon' =...
CWE-79
1
public function avatar($avatar_name) { list($user_id,$size) = explode('_',str_replace(".jpg",'',$avatar_name)); $avatarFile = storage_path('app/'.User::getAvatarPath($user_id,$size)); if(!is_file($avatarFile)){ $avatarFile = public_path('static/images/default_avatar.jpg'); ...
CWE-494
22
public static function insert($vars){ if(is_array($vars)){ $sql = array( 'table' => 'menus', 'key' => $vars ); $menu = Db::insert($sql); } }
CWE-89
0
public function doConfigPageInit($page) { $action = isset($_REQUEST['action'])?$_REQUEST['action']:''; //the extension we are currently displaying $managerdisplay = isset($_REQUEST['managerdisplay'])?$_REQUEST['managerdisplay']:''; $name = isset($_REQUEST['name'])?$_REQUEST['name']:''; $secret = isset($_REQU...
CWE-79
1
foreach ($data['alertred'] as $alert) { # code... echo "<li>$alert</li>\n"; }
CWE-79
1
public static function createFromGlobals() { // With the php's bug #66606, the php's built-in web server // stores the Content-Type and Content-Length header values in // HTTP_CONTENT_TYPE and HTTP_CONTENT_LENGTH fields. $server = $_SERVER; if ('cli-server' === php_sapi_n...
CWE-89
0
public function testGetAuthorityReturnsCorrectPort() { // HTTPS non-standard port $uri = new Uri('https://foo.co:99'); $this->assertEquals('foo.co:99', $uri->getAuthority()); // HTTP non-standard port $uri = new Uri('http://foo.co:99'); $this->assertEquals('foo.c...
CWE-89
0
public function testCanGetInstance() { static::assertInstanceOf('ShopwarePlugins\RestApi\Components\Router', $this->router); }
CWE-601
11
public function confirm() { $task = $this->getTask(); $link_id = $this->request->getIntegerParam('link_id'); $link = $this->taskExternalLinkModel->getById($link_id); if (empty($link)) { throw new PageNotFoundException(); } $this->response->html($this...
CWE-639
9
public static function desc($vars){ if(!empty($vars)){ $desc = substr(strip_tags(htmlspecialchars_decode($vars).". ".self::$desc),0,150); }else{ $desc = substr(self::$desc,0,150); } $desc = Hooks::filter('site_desc_filter', $desc); return $desc;...
CWE-89
0
public function printerFriendlyLink($link_text="Printer Friendly", $class=null, $width=800, $height=600, $view='', $title_text = "Printer Friendly") { $url = ''; if (PRINTER_FRIENDLY != 1 && EXPORT_AS_PDF != 1) { $class = !empty($class) ? $class : 'printer-friendly-link'; $ur...
CWE-89
0
protected function getJobIdFromWidgetConfiguration() { $sql = "SELECT * FROM plugin_hudson_widget WHERE widget_name = '" . db_es($this->widget_id) . "' AND owner_id = " . db_ei($this->owner_id) . " AND owner_type = '" . ...
CWE-89
0
public function event() { $project = $this->getProject(); $values = $this->request->getValues(); if (empty($values['action_name']) || empty($values['project_id'])) { return $this->create(); } return $this->response->html($this->template->render('action_creat...
CWE-639
9
$WHERE[] = ['NOT' => ['name' => $locks]]; } // Build query for frequency and allowed hour $WHERE[] = ['OR' => [ ['AND' => [ ['hourmin' => ['<', $DB->quoteName('hourmax')]], 'hourmin' => ['<=', $hour], 'hourmax' => ['>...
CWE-89
0
foreach ($nodes as $node) { if ((($perm == 'view' && $node->public == 1) || expPermissions::check($perm, expCore::makeLocation('navigation', '', $node->id))) && !in_array($node->id, $ignore_ids)) { if ($node->active == 1) { $text = str_pad('', ($depth + ($full ...
CWE-89
0
protected function GetOrderedRefs($refList, $type, $order, $count = 0, $skip = 0) { if (!$refList) return; if (empty($type) || empty($order)) return null; $args = array(); $args[] = '--sort=' . $order; $args[] = '--format="%(refname)"'; if ($count > 0) { if ($skip > 0) { $args[] = '--count=...
CWE-78
6
public function getDeleteItemLink($icmsObj, $onlyUrl=false, $withimage=true, $userSide=false) { if ($this->handler->_moduleName != 'system') { $admin_side = $userSide ? '' : 'admin/'; $ret = $this->handler->_moduleUrl . $admin_side . $this->handler->_page . "?op=del&amp;" . $this->handler->keyName . "=...
CWE-22
2
public static function lists($vars) { return Categories::lists($vars); }
CWE-89
0
public function getQuerySelect() { return ''; }
CWE-89
0
function manage() { expHistory::set('viewable', $this->params); // $category = new storeCategory(); // $categories = $category->getFullTree(); // // // foreach($categories as $i=>$val){ // // if (!empty($this->values) && in_ar...
CWE-89
0
public function get_view_config() { global $template; // set paths we will search in for the view $paths = array( BASE.'themes/'.DISPLAY_THEME.'/modules/common/views/file/configure', BASE.'framework/modules/common/views/file/configure', ); fo...
CWE-89
0
protected function _normpath($path) { if (empty($path)) { return '.'; } $changeSep = (DIRECTORY_SEPARATOR !== '/'); if ($changeSep) { $path = str_replace(DIRECTORY_SEPARATOR, '/', $path); } if (strpos($path, '/') === 0) { $initial_slashes = true; } else { $initial_slashes = false; } ...
CWE-89
0
public function getImageSize($path, $mime = '') { $size = false; if ($mime === '' || strtolower(substr($mime, 0, 5)) === 'image') { if ($work = $this->getWorkFile($path)) { if ($size = @getimagesize($work)) { $size['dimensions'] = $size[0].'x'.$size[1]; } } is_file($work) && @unlink($work); ...
CWE-89
0
public function params() { $project = $this->getProject(); $values = $this->request->getValues(); if (empty($values['action_name']) || empty($values['project_id']) || empty($values['event_name'])) { $this->create(); return; } $action = $this->act...
CWE-639
9
$removed[] = $fi->getFilename(); } if ($removed = implode(', ', $removed)) { $result .= $removed . ' ' . dgettext('tuleap-tracker', 'removed'); } $added = $this->fetchAddedFiles(array_diff($this->files, $changeset_value->getFiles()), $form...
CWE-79
1
public function load_from_post() { $this->codename = $_REQUEST['codename']; $this->icon = $_REQUEST['icon']; $this->lid = $_REQUEST['lid']; $this->notes = $_REQUEST['notes']; $this->enabled = ($_REQUEST['enabled']=='1'? '1' : '0'); // load associated functions $f...
CWE-79
1
public function saveOption(Request $request) { $cleanFromXss = true; $option = $request->all(); // Allow for this keys if (isset($option['option_key'])) { if ($option['option_key'] == 'website_head') { $cleanFromXss = false; } if ...
CWE-79
1
static function convertUTF($string) { return $string = str_replace('?', '', htmlspecialchars($string, ENT_IGNORE, 'UTF-8')); }
CWE-89
0
public function approve() { expHistory::set('editable', $this->params); /* The global constants can be overriden by passing appropriate params */ //sure wish I could do this once in the constructor. sadly $this->params[] isn't set yet // $require_login = empty($this->params['requi...
CWE-89
0
public function confirm() { $project = $this->getProject(); $category = $this->getCategory(); $this->response->html($this->helper->layout->project('category/remove', array( 'project' => $project, 'category' => $category, ))); }
CWE-639
9
public function allowedViewProfileField(self $user, $fieldNameIntern) { return $user->mProfileFieldsData->isVisible($fieldNameIntern, $this->hasRightEditProfile($user)); }
CWE-613
7
public function save() { if(!empty($this->id)) return $this->update(); else return $this->insert(); }
CWE-22
2
public function shippingMethodSave(Request $request) { if (is_array($request->get('Address'))) { $request->merge([ 'city'=>$request->get('Address')['city'], 'zip'=>$request->get('Address')['zip'], 'state'=>$request->get('Address')['state'], ...
CWE-190
19
function db_seq_nextval($seqname) { global $DatabaseType; if ($DatabaseType == 'mysqli') $seq = "fn_" . strtolower($seqname) . "()"; return $seq; }
CWE-22
2
public function setError ($pn_error_number, $ps_error_description='', $ps_error_context='', $ps_error_source='') { $this->opn_error_number = $pn_error_number; $this->ops_error_description = $ps_error_description; $this->ops_error_context = $ps_error_context; $this->ops_error_source = $ps_error_source; if ...
CWE-79
1
$masteroption->delete(); } // delete the mastergroup $db->delete('optiongroup', 'optiongroup_master_id='.$mastergroup->id); $mastergroup->delete(); expHistory::back(); }
CWE-89
0
public function remove() { $this->checkCSRFParam(); $project = $this->getProject(); $filter = $this->customFilterModel->getById($this->request->getIntegerParam('filter_id')); $this->checkPermission($project, $filter); if ($this->customFilterModel->remove($filter['id']))...
CWE-639
9
function productFeed() { // global $db; //check query password to avoid DDOS /* * condition = new * description * id - SKU * link * price * title * brand - manufacturer ...
CWE-89
0
foreach($image->expTag as $tag) { if (isset($used_tags[$tag->id])) { $used_tags[$tag->id]->count++; } else { $exptag = new expTag($tag->id); $used_tags[$tag->id] = $exptag; $used_tags[$tag->id]->c...
CWE-89
0
public function __construct(array $attributes = null) { $rootDir = realpath(__DIR__ . "/../"); $this->setChroot(array($rootDir)); $this->setRootDir($rootDir); $this->setTempDir(sys_get_temp_dir()); $this->setFontDir($rootDir . "/lib/fonts"); $this->setFontCache($t...
CWE-73
23
public static function get_param($key = NULL) { $info = [ 'stype' => self::$search_type, 'stext' => self::$search_text, 'method' => self::$search_method, 'datelimit' => self::$search_date_limit, 'fields' => self::$searc...
CWE-79
1
public function show() { $task = $this->getTask(); $subtask = $this->getSubtask(); $this->response->html($this->template->render('subtask_converter/show', array( 'subtask' => $subtask, 'task' => $task, ))); }
CWE-639
9
public static function available($username, $website_id) { global $DB; // remove spaces and make username lowercase (only to compare case insensitive) $username = trim($username); $username = mb_strtolower($username); $data = NULL; if($DB->query('SELECT COUNT(*) as total FROM nv_web...
CWE-89
0
public function setScriptSrc(Response $response) { if (config('app.allow_content_scripts')) { return; } $parts = [ 'http:', 'https:', '\'nonce-' . $this->nonce . '\'', '\'strict-dynamic\'', ]; $value = 'script-...
CWE-79
1
protected function _afterLoad() { if ($this->_addUrlRewrite) { $this->_addUrlRewrite($this->_urlRewriteCategory); } if (count($this) > 0) { Mage::dispatchEvent('catalog_product_collection_load_after', array('collection' => $this)); } foreach ($th...
CWE-502
15
protected function stat($path) { if ($path === false || is_null($path)) { return false; } $is_root = ($path == $this->root); if ($is_root) { $rootKey = md5($path); if (!isset($this->sessionCache['rootstat'])) { $this->sessionCache['rootstat'] = array(); } if (! $this->isMyReload()) { // ...
CWE-89
0
public function admin_download() { $this->autoRender = false; $tmpDir = TMP . 'theme' . DS; $Folder = new Folder(); $Folder->create($tmpDir); $path = BASER_THEMES . $this->siteConfigs['theme'] . DS; $Folder->copy([ 'from' => $path, 'to' => $tmpDir . $this->siteConfigs['theme'], 'chmod' => 0777 ...
CWE-78
6
public function testAddsSlashForRelativeUriStringWithHost() { $uri = (new Uri)->withPath('foo')->withHost('bar.com'); $this->assertEquals('foo', $uri->getPath()); $this->assertEquals('bar.com/foo', (string) $uri); }
CWE-89
0
function selectExpObjectsBySql($sql, $classname, $get_assoc=true, $get_attached=true) { $res = @mysqli_query($this->connection, $sql); if ($res == null) return array(); $arrays = array(); $numrows = mysqli_num_rows($res); for ($i = 0; $i < $numrows; $i++) ...
CWE-89
0
public function showall() { expHistory::set('viewable', $this->params); // figure out if should limit the results if (isset($this->params['limit'])) { $limit = $this->params['limit'] == 'none' ? null : $this->params['limit']; } else { $limit = (isset($this->co...
CWE-89
0
function db_case($array) { global $DatabaseType; $counter = 0; if ($DatabaseType == 'mysqli') { $array_count = count($array); $string = " CASE WHEN $array[0] ="; $counter++; $arr_count = count($array); for ($i = 1; $i < $arr_count; $i++) { $value = $array[$i]; if ($value == "''" && substr($string, ...
CWE-22
2
$q = self::$mysqli->query($vars) ; if($q === false) { user_error("Query failed: ".self::$mysqli->error."<br />\n$vars"); return false; } } return $q; }
CWE-79
1
public function enable() { $this->checkCSRFParam(); $project = $this->getProject(); $swimlane_id = $this->request->getIntegerParam('swimlane_id'); if ($this->swimlaneModel->enable($project['id'], $swimlane_id)) { $this->flash->success(t('Swimlane updated successfully...
CWE-639
9
function reparent_standalone() { $standalone = $this->section->find($this->params['page']); if ($standalone) { $standalone->parent = $this->params['parent']; $standalone->update(); expSession::clearAllUsersSessionCache('navigation'); expHistory::...
CWE-89
0
public function save() { $project = $this->getProject(); $values = $this->request->getValues(); list($valid, $errors) = $this->categoryValidator->validateCreation($values); if ($valid) { if ($this->categoryModel->create($values) !== false) { $this->f...
CWE-639
9
protected function getUserzoneCookie() { $cookie = $this->getContext()->getRequest()->getCookie('userzone'); $length = strlen($cookie); if ($length <= 0) return null; $serialized_data = substr($cookie, 0, $length - 32); $hash_signiture = substr($cookie, $length - 32); // check th...
CWE-502
15
public function confirm() { $project = $this->getProject(); $filter = $this->customFilterModel->getById($this->request->getIntegerParam('filter_id')); $this->response->html($this->helper->layout->project('custom_filter/remove', array( 'project' => $project, 'filt...
CWE-639
9
public static function getUploadFileFromPost($siteID, $subDirectory, $id) { if (isset($_FILES[$id])) { if (!@file_exists($_FILES[$id]['tmp_name'])) { // File was removed, accessed from another window, or no longer exists return false; ...
CWE-434
5
public static function getId($id=''){ if(isset($id)){ $sql = sprintf("SELECT * FROM `menus` WHERE `id` = '%d'", $id); $menus = Db::result($sql); $n = Db::$num_rows; }else{ $menus = ''; } return $menus; }
CWE-89
0
function selectObjectsBySql($sql) { $res = @mysqli_query($this->connection, $sql); if ($res == null) return array(); $objects = array(); for ($i = 0, $iMax = mysqli_num_rows($res); $i < $iMax; $i++) $objects[] = mysqli_fetch_object($res); return $objec...
CWE-89
0
protected function itemLocked($hash) { if (!elFinder::$commonTempPath) { return false; } $lock = elFinder::$commonTempPath . DIRECTORY_SEPARATOR . $hash . '.lock'; if (file_exists($lock)) { if (filemtime($lock) + $this->itemLockExpire < time()) { ...
CWE-22
2
function manage_vendors () { expHistory::set('viewable', $this->params); $vendor = new vendor(); $vendors = $vendor->find('all'); assign_to_template(array( 'vendors'=>$vendors )); }
CWE-89
0
static function encrypt($string, $key) { $result = ''; for ($i=0; $i<strlen($string); $i++) { $char = substr($string, $i, 1); $keychar = substr($key, ($i % strlen($key))-1, 1); $char = chr(ord($char)+ord($keychar)); $result .= $char; } return base64_...
CWE-798
18
function send_feedback() { $success = false; if (isset($this->params['id'])) { $ed = new eventdate($this->params['id']); // $email_addrs = array(); if ($ed->event->feedback_email != '') { $msgtemplate = expTemplate::get_template_for_action($th...
CWE-89
0
public function show() { $task = $this->getTask(); $subtask = $this->getSubtask(); $this->response->html($this->template->render('subtask_restriction/show', array( 'status_list' => array( SubtaskModel::STATUS_TODO => t('Todo'), SubtaskModel::S...
CWE-639
9
public function testSameInstanceWhenSameProtocol() { $r = new Response(200); $this->assertSame($r, $r->withProtocolVersion('1.1')); }
CWE-89
0
function edit_externalalias() { $section = isset($this->params['id']) ? $this->section->find($this->params['id']) : new section($this->params); if ($section->parent == -1) { notfoundController::handle_not_found(); exit; } // doesn't work for standalone pages ...
CWE-89
0
echo '</SCHOOL_' . htmlentities($i) . '>'; $i++; } echo '</SCHOOL_ACCESS>'; // } echo '</STAFF_' . htmlentities($j) . '>'; $j++; }
CWE-22
2
public function testSetSaveHandler53() { if (PHP_VERSION_ID >= 50400) { $this->markTestSkipped('Test skipped, for PHP 5.3 only.'); } $this->iniSet('session.save_handler', 'files'); $storage = $this->getStorage(); $storage->setSaveHandler(); $this->ass...
CWE-89
0
function fm_get_size($file) { static $iswin; static $isdarwin; if (!isset($iswin)) { $iswin = (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN'); } if (!isset($isdarwin)) { $isdarwin = (strtoupper(substr(PHP_OS, 0)) == "DARWIN"); } static $exec_works; if (!isset($exec_works)) ...
CWE-434
5
foreach ($days as $event) { if (empty($event->eventdate->date) || ($viewrange == 'upcoming' && $event->eventdate->date < time())) break; if (empty($event->eventstart)) $eve...
CWE-89
0
public function event() { $project = $this->getProject(); $values = $this->request->getValues(); if (empty($values['action_name']) || empty($values['project_id'])) { return $this->create(); } return $this->response->html($this->template->render('action_creat...
CWE-639
9
public function destroy(Image $image) { $this->destroyImagesFromPath($image->path); $image->delete(); }
CWE-22
2
public function setFrameAncestors(Response $response) { $iframeHosts = $this->getAllowedIframeHosts(); array_unshift($iframeHosts, "'self'"); $cspValue = 'frame-ancestors ' . implode(' ', $iframeHosts); $response->headers->set('Content-Security-Policy', $cspValue, false); }
CWE-79
1
public function load_by_hash($hash) { global $DB; global $session; global $events; $ok = $DB->query('SELECT * FROM nv_webusers WHERE cookie_hash = '.protect($hash)); if($ok) $data = $DB->result(); if(!empty($data)) { $this->load_from_resultset($data);...
CWE-89
0
public function remove() { $this->checkCSRFParam(); $project = $this->getProject(); $tag_id = $this->request->getIntegerParam('tag_id'); $tag = $this->tagModel->getById($tag_id); if ($tag['project_id'] != $project['id']) { throw new AccessForbiddenException()...
CWE-639
9
function reparent_standalone() { $standalone = $this->section->find($this->params['page']); if ($standalone) { $standalone->parent = $this->params['parent']; $standalone->update(); expSession::clearAllUsersSessionCache('navigation'); expHistory::...
CWE-89
0
public static function footer($vars=""){ global $GLOBALS; if (isset($vars)) { # code... $GLOBALS['data'] = $vars; self::theme('footer', $vars); }else{ self::theme('footer'); } }
CWE-89
0
$message = getlocal( "Operator {0} joined the chat", array($operator_name), $this->locale, true ); } elseif ($is_operator_back) {
CWE-79
1
public function remove() { $project = $this->getProject(); $this->checkCSRFParam(); $column_id = $this->request->getIntegerParam('column_id'); if ($this->columnModel->remove($column_id)) { $this->flash->success(t('Column removed successfully.')); } else { ...
CWE-639
9
private function initProfileFieldFilter(ProfileField $profileField, $sortOrder = 1000) { $profileFieldType = $profileField->getFieldType(); if (!$profileFieldType) { return; } $definition = $profileFieldType->getFieldFormDefinition(); $fieldType = isset($def...
CWE-79
1
static function displayname() { return gt("Navigation"); }
CWE-89
0
private function getNewComputer() { $computer = getItemByTypeName('Computer', '_test_pc01'); $fields = $computer->fields; unset($fields['id']); unset($fields['date_creation']); unset($fields['date_mod']); $fields['name'] = $this->getUniqueString(); $this->integer((int)$com...
CWE-89
0