Skip to content
This repository has been archived by the owner on Oct 3, 2019. It is now read-only.

Check array index, fix #87 #130

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Check array index, fix #87 #130

wants to merge 1 commit into from

Conversation

SG5
Copy link

@SG5 SG5 commented Oct 30, 2017

No description provided.

@coveralls
Copy link

coveralls commented Oct 30, 2017

Coverage Status

Coverage remained the same at 32.83% when pulling 570e900 on SG5:patch-1 into fea2cb1 on literat:master.

@@ -75,8 +75,10 @@ public function actionCreate()
$model = $this->getModel();
$data = $this->getHttpRequest()->getPost();

$this->setBacklink($data['backlink']);
unset($data['backlink']);
if (isset($data['backlink'])) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about to also check if array key exists?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants