commit
d7f93826dd
@ -281,8 +281,8 @@ if ($object->id > 0) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$author = new User($db);
|
$author = new User($db);
|
||||||
if ($object->user_author) {
|
if ($object->fk_user_author) {
|
||||||
$author->fetch($object->user_author);
|
$author->fetch($object->fk_user_author);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($type == 'bank-transfer') {
|
if ($type == 'bank-transfer') {
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2011-2012 Regis Houssin <regis.houssin@inodbox.com>
|
/* Copyright (C) 2011-2022 Regis Houssin <regis.houssin@inodbox.com>
|
||||||
* Copyright (C) 2011-2012 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2011-2012 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
@ -216,7 +216,7 @@ class FileUpload
|
|||||||
/**
|
/**
|
||||||
* Set delete url
|
* Set delete url
|
||||||
*
|
*
|
||||||
* @param string $file Filename
|
* @param object $file Filename
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
protected function setFileDeleteUrl($file)
|
protected function setFileDeleteUrl($file)
|
||||||
@ -301,7 +301,7 @@ class FileUpload
|
|||||||
* Enter description here ...
|
* Enter description here ...
|
||||||
*
|
*
|
||||||
* @param string $uploaded_file Uploade file
|
* @param string $uploaded_file Uploade file
|
||||||
* @param string $file File
|
* @param object $file File
|
||||||
* @param string $error Error
|
* @param string $error Error
|
||||||
* @param string $index Index
|
* @param string $index Index
|
||||||
* @return boolean True if OK, False if KO
|
* @return boolean True if OK, False if KO
|
||||||
@ -538,7 +538,7 @@ class FileUpload
|
|||||||
/**
|
/**
|
||||||
* Delete uploaded file
|
* Delete uploaded file
|
||||||
*
|
*
|
||||||
* @return void
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function delete()
|
public function delete()
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user