Commit 9b924c14 by Timothy J Warren

Fix some scrutinizer issues

parent 5941bc2f
# Tim's Todo
[![Build Status](https://travis-ci.org/timw4mail/tims-todo.svg?branch=master)](https://travis-ci.org/timw4mail/tims-todo)
\ No newline at end of file
[![Build Status](https://travis-ci.org/timw4mail/tims-todo.svg?branch=master)](https://travis-ci.org/timw4mail/tims-todo)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/timw4mail/tims-todo/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/timw4mail/tims-todo/?branch=master)
[![Code Coverage](https://scrutinizer-ci.com/g/timw4mail/tims-todo/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/timw4mail/tims-todo/?branch=master)
\ No newline at end of file
......@@ -241,7 +241,7 @@ class Page {
*
* Helper function for making script tags
*
* @param string $js
* @param string $javascript
* @param bool $domain
* @return string
*/
......
......@@ -7,7 +7,7 @@
*/
class Todo {
private $user, $pass, $email, $CI, $uid; //For user registration
private $user, $pass, $CI, $uid; //For user registration
/**
* Constructor
......
......@@ -100,7 +100,7 @@
<input type="radio" name="share_type" value="group" id="group_share" <?= (empty($selected_groups)) ? "": 'checked="checked"' ?> />
</dd>
<?php if( ! empty($friends)): ?>
<?php if($selected_friends === FALSE) {$selected_friends = array();} ?>
<?php if( ! is_array($selected_friends)) {$selected_friends = array();} ?>
<dt class="friend_share"><strong>Friend Settings</strong></dt>
<dd class="friend_share">
<dl>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment