mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
Try to remove some TODO - Better test of oauth return
This commit is contained in:
@@ -306,7 +306,7 @@ if (!empty($hashp)) {
|
||||
} elseif (GETPOSTINT("publictakepos")) {
|
||||
if (getDolGlobalString('TAKEPOS_AUTO_ORDER') && in_array($modulepart, array('product', 'category'))) {
|
||||
$accessallowed = 1; // When TakePOS Public Auto Order is enabled, we accept to see all images of product and categories with no login
|
||||
// TODO Replace this with a call of getPublicImageOfObject like used by website so
|
||||
// TODO Replace the use of link to viewimage with a call to get link by getPublicImageOfObject, like done by website templates so
|
||||
// only shared images are visible
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user