Plugin Directory

Changeset 772944


Ignore:
Timestamp:
09/15/2013 09:27:23 PM (13 years ago)
Author:
tickerator
Message:

Spelling and array_search errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bugerator/trunk/bugerator.php

    r772854 r772944  
    783783        if (false == $wpdb->query($sql))
    784784            return array('', "Cannot complete update");
    785         return array("Update Successfull", "");
     785        return array("Update Successful", "");
    786786    }
    787787
     
    16291629            $mymain = new BugeratorMain;
    16301630            $mymain->email_subscribers($select_me, "", $name, $log, true);
    1631             return array('Update successfull.', '');
     1631            return array('Update successful.', '');
    16321632        }
    16331633
     
    20432043        // process file if any.
    20442044        if (isset($_FILES[$post_field]) and
    2045                 0 == $_FILES[$post_field]['error']) { // successfull file load
     2045                0 == $_FILES[$post_field]['error']) { // successful file load
    20462046            // hurray we have a file.
    20472047            // Make sure it is text or picture
     
    25352535            $this->email_subscribers($issue_id, $row['title'], $project_name, $change);
    25362536        }
    2537         return array('Update successfull.', '');
     2537        return array('Update successful.', '');
    25382538    }
    25392539
     
    38503850                $issue_subscriber = $wpdb->get_results($sql);
    38513851                foreach ($issue_subscriber as $subscriber) {
    3852                     if (false === array_search($subscriber->user, $project_person)) {
     3852                    if (true == is_array($project_person) and false === array_search($subscriber->user, $project_person)) {
    38533853                        $array['user'] = $subscriber->user;
    38543854                        $array['visited'] = $subscriber->visited;
Note: See TracChangeset for help on using the changeset viewer.