Skip to content
Browse files

correct no less than three different spellings of 'committed name' (f…

…ixes GH-27)
  • Loading branch information...
1 parent d1f6a9f commit a27dd4676fd637aa336fbdb1d473087ea9546a50 @makeusabrew committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 library/file.php
View
6 library/file.php
@@ -6,7 +6,7 @@ class File {
protected $tmp_name;
protected $error;
protected $size;
- protected $comittedName;
+ protected $committedName;
const ERR_NO_FILE = 99;
@@ -55,7 +55,7 @@ public function commitFile($path, $name = null, $addExtension = true) {
Log::debug("moving uploaded file [".$this->tmp_name."] to destination [".$path.$name."]");
move_uploaded_file($this->tmp_name, $path.$name);
- $this->commitedName = $path.$name;
+ $this->committedName = $path.$name;
}
public function getFilename() {
@@ -71,6 +71,6 @@ public function getFileExt() {
}
public function getCommittedName() {
- return $this->comittedName;
+ return $this->committedName;
}
}

0 comments on commit a27dd46

Please sign in to comment.
Something went wrong with that request. Please try again.