From 32aa2dc8af25a9b6a6490c5a80700b8415333592 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Tue, 14 Jun 2011 15:39:00 +0000 Subject: [PATCH] --- inc/ws/Controlleur/class.ws.url.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/inc/ws/Controlleur/class.ws.url.php b/inc/ws/Controlleur/class.ws.url.php index e32ea8dce..975326533 100644 --- a/inc/ws/Controlleur/class.ws.url.php +++ b/inc/ws/Controlleur/class.ws.url.php @@ -73,7 +73,7 @@ class wsUrl { $res .= '' . commonUrl::orderby(__('Status'), 'status', $settings, 'sort' . $change) . ''; $res.='' . __('V') . ''; } - $res .= str_repeat('', $droits->creation ? 5 : 4); + $res .= str_repeat('', 5); $res .= ''; $i = 0; @@ -128,8 +128,10 @@ class wsUrl { } else { $res.=''; } - if ($droits->creation) { + if ($droits->creation && $book->status<0) { $res .= '' . $btDel . ''; + }else{ + $res.=''; } $res .= ''; $i++; -- 2.39.5