This commit is contained in:
parent
820a400ae8
commit
51f0a745fc
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: tomas $
|
Author : $Author: tomas $
|
||||||
Version : $Revision: 1.19 $
|
Version : $Revision: 1.20 $
|
||||||
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/GreenBox.php,v $
|
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/GreenBox.php,v $
|
||||||
|
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
@ -35,7 +35,7 @@ require_once "BasicStor.php";
|
||||||
* LiveSupport file storage module
|
* LiveSupport file storage module
|
||||||
*
|
*
|
||||||
* @author $Author: tomas $
|
* @author $Author: tomas $
|
||||||
* @version $Revision: 1.19 $
|
* @version $Revision: 1.20 $
|
||||||
* @see BasicStor
|
* @see BasicStor
|
||||||
*/
|
*/
|
||||||
class GreenBox extends BasicStor{
|
class GreenBox extends BasicStor{
|
||||||
|
@ -551,6 +551,7 @@ class GreenBox extends BasicStor{
|
||||||
SELECT to_hex(gunid)as gunid FROM {$this->filesTable}
|
SELECT to_hex(gunid)as gunid FROM {$this->filesTable}
|
||||||
WHERE id='$id'
|
WHERE id='$id'
|
||||||
");
|
");
|
||||||
|
if(PEAR::isError($gunid)) return $gunid;
|
||||||
if(is_null($gunid)) return NULL;
|
if(is_null($gunid)) return NULL;
|
||||||
return StoredFile::_normalizeGunid($gunid);
|
return StoredFile::_normalizeGunid($gunid);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue