Mistři v programování na #hovnokod

PHP #1114

Prestashop

if($this->context->customer->phone_validated == 0) {
				$this->context->smarty->assign('userSetPhone', true);
			} else {
				$this->context->smarty->assign('userSetPhone', true);
			}

			if($this->context->customer->email == "") {
				$this->context->smarty->assign('userSetEmail', true);
			} else {
				$this->context->smarty->assign('userSetEmail', true);
			}

			if($this->context->customer->firstname == "" || $this->context->customer->lastname == "") {
				$this->context->smarty->assign('userSetName', true);
			} else {
				$this->context->smarty->assign('userSetName', true);
			}

Anonymous,