diff --git a/library/eden/amazon/s3.php b/library/eden/amazon/s3.php index 098c9a8..bdb29e6 100644 --- a/library/eden/amazon/s3.php +++ b/library/eden/amazon/s3.php @@ -603,9 +603,9 @@ public function setPermissions($bucket, $path = '/', array $acp = array()) { $policy->appendChild($list); $dom->appendChild($policy); - $data = $dom->saveXML(); - $query = array('acl' => NULL); - $header = array('Content-Type' => 'application/xml'); + $data = $dom->saveXML(); + $query = array('acl' => NULL); + $headers = array('Content-Type' => 'application/xml'); return $this->_setResponse('PUT', $bucket, $path, $query, $data, $headers); } diff --git a/library/eden/facebook/graph.php b/library/eden/facebook/graph.php index b17485f..b31e875 100644 --- a/library/eden/facebook/graph.php +++ b/library/eden/facebook/graph.php @@ -180,7 +180,7 @@ public function checkin($id, $message, $latitude, $longitude, $place, $tags) { } //if coords - if($latitude && $longitute) { + if($latitude && $longitude) { //add it $post['coordinates'] = json_encode(array( 'latitude' => $latitude, @@ -557,4 +557,4 @@ protected function _search($connection, $query, $fields = NULL) { /* Private Methods -------------------------------*/ -} \ No newline at end of file +} diff --git a/library/eden/google/base.php b/library/eden/google/base.php index e0d421a..dad30d8 100644 --- a/library/eden/google/base.php +++ b/library/eden/google/base.php @@ -463,7 +463,7 @@ protected function _patch($url, array $query = array()) { return $response; } - protected function _post($url, $query, $etag = false) { + protected function _post($url, $query = '', $etag = false) { //if query is in array if(is_array($query)) { //prevent sending fields with no value @@ -591,4 +591,4 @@ protected function _put($url, $query, $etag = false) { /* Private Methods -------------------------------*/ -} \ No newline at end of file +} diff --git a/library/eden/google/calendar/event.php b/library/eden/google/calendar/event.php index 920dcb7..c1bfb5f 100644 --- a/library/eden/google/calendar/event.php +++ b/library/eden/google/calendar/event.php @@ -194,7 +194,7 @@ public function moveEvent($destination, $eventId, $calendarId = self::PRIMARY) { ->argument(2, 'string') //argument 2 must be a string ->argument(3, 'string'); //argument 3 must be a string - $this->_query[self::DESTINATION] = $description; + $this->_query[self::DESTINATION] = $destination; return $this->_customPost(sprintf(self::URL_CALENDAR_MOVE, $calendarId, $eventId), $this->_query); } @@ -403,4 +403,4 @@ public function update($eventId, $calendarId = self::PRIMARY) { -------------------------------*/ /* Private Methods -------------------------------*/ -} \ No newline at end of file +} diff --git a/library/eden/google/contacts/groups.php b/library/eden/google/contacts/groups.php index dce5dd8..19617e0 100644 --- a/library/eden/google/contacts/groups.php +++ b/library/eden/google/contacts/groups.php @@ -65,7 +65,7 @@ public function getList($userEmail = self::DEFAULT_VALUE) { * @param string * @return array */ - public function getSpecific($groudId, $userEmail = self::DEFAULT_VALUE) { + public function getSpecific($groupId, $userEmail = self::DEFAULT_VALUE) { //argument test Eden_Google_Error::i() ->argument(1, 'string') //argument 1 must be a string @@ -126,4 +126,4 @@ public function delete($groupId, $userEmail = self::DEFAULT_VALUE) { -------------------------------*/ /* Private Methods -------------------------------*/ -} \ No newline at end of file +} diff --git a/library/eden/mail/imap.php b/library/eden/mail/imap.php index 954b840..02be12c 100644 --- a/library/eden/mail/imap.php +++ b/library/eden/mail/imap.php @@ -1000,7 +1000,7 @@ private function _getHeaders($rawData) { private function _getList($array) { $list = array(); foreach ($array as $key => $value) { - $list[] = !is_array($value) ? $value : $this->_getList($v); + $list[] = !is_array($value) ? $value : $this->_getList($value); } return '(' . implode(' ', $list) . ')'; } diff --git a/library/eden/mysql.php b/library/eden/mysql.php index ee9835b..355f27f 100755 --- a/library/eden/mysql.php +++ b/library/eden/mysql.php @@ -249,7 +249,7 @@ public function getTableSchema($table) { $increment = strtolower($field['Extra']) == 'auto_increment' ? true : false; //lets now add a field to our schema class - $q->addField($field['Field'], array( + $query->addField($field['Field'], array( 'type' => $type, 'length' => $length, 'attribute' => $attribute, diff --git a/library/eden/mysql/create.php b/library/eden/mysql/create.php index cf4a0f2..058ce83 100755 --- a/library/eden/mysql/create.php +++ b/library/eden/mysql/create.php @@ -170,7 +170,7 @@ public function getQuery($unbind = false) { return sprintf( 'CREATE TABLE %s (%s%s%s%s)', $table, $fields, $primary, - $unique, $keys); + $uniques, $keys); } /** @@ -249,4 +249,4 @@ public function setUniqueKeys(array $uniqueKeys) { -------------------------------*/ /* Private Methods -------------------------------*/ -} \ No newline at end of file +}