projects
/
fusionforge
/
fusionforge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9c5a19f
)
Applied patch [#191] getSize() and getPostDate() methods in FRS are wrong
author
Alain Peyrat
<aljeux@free.fr>
Sat, 28 Aug 2010 07:22:07 +0000
(07:22 +0000)
committer
Alain Peyrat
<aljeux@free.fr>
Sat, 28 Aug 2010 07:22:07 +0000
(07:22 +0000)
src/common/frs/FRSFile.class.php
patch
|
blob
|
history
diff --git
a/src/common/frs/FRSFile.class.php
b/src/common/frs/FRSFile.class.php
index e4d2fff3137a6a8500ace3a37d9f607c27addc2b..60a9aec0e781e7ba87344eaa9a81cb7f6a16d786 100644
(file)
--- a/
src/common/frs/FRSFile.class.php
+++ b/
src/common/frs/FRSFile.class.php
@@
-246,7
+246,7
@@
class FRSFile extends Error {
* @return int The size.
*/
function getSize() {
* @return int The size.
*/
function getSize() {
- return $this->data_array['size'];
+ return $this->data_array['
file_
size'];
}
/**
}
/**
@@
-304,12
+304,12
@@
class FRSFile extends Error {
}
/**
}
/**
- * getPostDate - get the post
tim
e of this file.
+ * getPostDate - get the post
dat
e of this file.
*
*
- * @return int The post
tim
e in unix time.
+ * @return int The post
dat
e in unix time.
*/
function getPostDate() {
*/
function getPostDate() {
- return $this->data_array['post_
tim
e'];
+ return $this->data_array['post_
dat
e'];
}
/**
}
/**